|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
E
- - the type (boundary) of the Exception
to handleT
- - the type (boundary) of Exception
s that might be
(re-)thrown by the ExceptionHandler
public interface ExceptionHandler<E extends java.lang.Exception,T extends java.lang.Exception>
An ExceptionHandler
encapsulates a very simple and naive
exception handling mechanism.
Its two type parameters describe the concrete Exception
types
that could be handled and the ones that could be rethrown.
NOTE: the whole pluggable exception handling (PEH) module is highly experimental and still under heavy development, don't use it in production code unless you know what you're doing!
ExceptionHandling
,
Method Summary | |
---|---|
void |
handleException(E exception)
Handles Exception s of type E and might rethrow and
Exception s of type T. |
Method Detail |
---|
void handleException(E exception) throws T extends java.lang.Exception
Exception
s of type E and might rethrow and
Exception
s of type T.
exception
-
T
T extends java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |