|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ErrorHandler
Error Handler Service Definition. When exposed, this service is invoked when iPOJO throws a warning or an error. It's a hook on the internal iPOJO logger.
Method Summary | |
---|---|
void |
onError(ComponentInstance instance,
String message,
Throwable error)
Method invokes when an error occurred. |
void |
onWarning(ComponentInstance instance,
String message,
Throwable error)
Method invokes when a warning occurred. |
Method Detail |
---|
void onError(ComponentInstance instance, String message, Throwable error)
instance
- the instance (can be null)message
- the error messageerror
- the error itself (can be null
)
void onWarning(ComponentInstance instance, String message, Throwable error)
instance
- the instance (can be null)message
- the error messageerror
- the error itself (can be null
)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |