An implementation of ErrorService must be in the Singleton scope.
Implementations of ErrorService will be instantiated as soon as
they are added to HK2 in order to avoid deadlocks and circular references.
Therefore it is recommended that implementations of ErrorService
make liberal use of jakarta. or IterableProvider
when injecting dependent services so that these services are not instantiated
when the ErrorService is created
| Modifier and Type | Method and Description |
|---|---|
| public void | onFailure(ErrorInformation
Information about the error that occurred errorInformation)This method is called when a failure occurs in the system. |
| onFailure | back to summary |
|---|---|
| public void onFailure(ErrorInformation errorInformation) throws MultiException This method is called when a failure occurs in the system. This method may
use any
| |