Package com.sap.tc.mobile.exception

Classes and interfaces building the exception framework.

See:
          Description

Interface Summary
IBaseException Common interface for BaseException and BaseRuntimeException.
 

Class Summary
BaseExceptionInfo This class encapsulates the work necessary for implementing the IBaseException interface.
 

Exception Summary
BaseException Base class for all other subclasses of Exception.
BaseRuntimeException Base class for all other subclasses of Exception.
 

Package com.sap.tc.mobile.exception Description

Classes and interfaces building the exception framework.

This framework provides two main classes, BaseException and BaseRuntimeException, which are the base exception classes for conventional exceptions and runtime exceptions, respectively. Both are implementing a common interface IBaseException which encapsulates the provided functionality. This construction makes it easily possible that exceptions which already inherit from other exception can be integrated into the framework. In order to make the implementation of the interface straightforward, the BaseExceptionInfo class is available. This class contains implementations for almost all interface methods. So, when the interface is directly implemented, an object of that class has to be generated and the interface method implementations are performed via a call to the methods of that helper class.

The functionality which is provided by this framework can be summarized as follows: