|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
Code | This interface defines error and exception codes to identify exception classes. |
CodeMessageFormatter | Formatter for instances of CoreException . |
ExceptionContext | Defines access to the resources required by the exception infrastructure. |
ExceptionId<E> | Interface to implement an exception identifier. |
IdFactory | A factory to create instances of ExceptionId . |
Class Summary | |
---|---|
DefaultCodeMessageFormatter | Default implementation to format code messages. |
Enum Summary | |
---|---|
ThrowableHandleMode | Defines the modes how exceptions should be handled by the framework. |
Provides core information beans, interfaces and exceptions.
The Code
interface defines the properties of error codes. A code defines a type of error. The interface allows to provide individual implementations of error codes with specific formats.
To tag an exception uniquely the ExceptionId
class is used. The IdFactory
class defines the service method to actually generate a unique identifier. As with error codes, identifier may also have specific requirements on their format.
The exception context is the central information bundle to control the exception infrastructure. This is where the implementation of the IdFactory
is registered and the ThrowableHandleMode
is defined. In future new properties will be added here.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |