|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Contract public interface ErrorService
This interface should be implemented by those who wish to be notified of error conditions that occur within HK2. These errors are those that might happen during normal processing of HK2 requests but which are not otherwise reported up the calling stack frame.
An implementation of ErrorService must be in the Singleton scope
Method Summary | |
---|---|
void |
onFailure(ErrorInformation errorInformation)
This method is called when a failure occurs in the system. |
Method Detail |
---|
void onFailure(ErrorInformation errorInformation) throws MultiException
ServiceLocator
api. For example, an implementation of this method might want
to remove a descriptor from the registry if the error can be determined to be a
permanent failure.
errorInformation
- Information about the error that occurred
MultiException
- if this method throws an exception that exception will be thrown back to
the caller wrapped in another MultiException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |