Package de.smartics.exceptions.sample.lib.exceptions

Contains exception classes forming the base of exception handling with smartics-exceptions.

See: Description

Package de.smartics.exceptions.sample.lib.exceptions Description

Package class diagram package de.smartics.exceptions.sample.lib.exceptions
Contains exception classes forming the base of exception handling with smartics-exceptions.

It defines the base exceptions for all exceptions of the library:

  1. LibFaultException - the runtime exception that is the root of all fault exceptions.
  2. 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.

Since:
1.0