See: Description
Interface | Description |
---|---|
AnyServiceCode |
Tagging interface to group all service codes.
|
Class | Description |
---|---|
CodeRange |
Defines the code ranges used in this library.
|
ServiceMessage |
The information for a service fault or contingency.
|
Enum | Description |
---|---|
ServiceCode |
Defines test codes for messages with place holders.
|
Exception | Description |
---|---|
LibContingencyException |
Signals a contingency.
|
LibFaultException |
Signals a fault.
|
It defines the base exceptions for all exceptions of the library:
LibFaultException
- the runtime exception that is the root of all fault exceptions.LibContingencyException
- the checked exception that is the root of all contingency exceptions. The ServiceMessage
is the root container for all messages dealing with services and ServiceCode
is the code index for all service related error codes.
CodeRange
serves as an index of all code ranges of the library. We designed that all components use non-overlapping code ranges so that the number code alone (without the component identifier) is unique within the library.
Finally AnyServiceCode
serves as a marker interface to allow service and resource codes to define a common name space. This is useful for constructors and methods that want to allow codes from different enumerations.