|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) @Inherited public @interface HandleExceptions
HandleExceptions
represents a method or type level
annotation which describes an ExceptionScenario
associated with the annotated method or type.
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!
ExceptionScenario
,
Required Element Summary | |
---|---|
java.lang.String |
scenario
the name of the ExceptionScenario this annotation describes. |
Optional Element Summary | |
---|---|
java.lang.Class<?> |
delegate
the class to which the exception handling configuration is delegated. |
java.lang.Class<? extends java.lang.Exception> |
handledClass
the boundary of the Exception class to be handled. |
java.lang.Class<? extends java.lang.Exception> |
thrownClass
the boundary of the Exception class the might be rethrown. |
Element Detail |
---|
public abstract java.lang.String scenario
ExceptionScenario
this annotation describes.
public abstract java.lang.Class<? extends java.lang.Exception> handledClass
Exception
class to be handled.
optional, per default Exception
.class.
public abstract java.lang.Class<? extends java.lang.Exception> thrownClass
Exception
class the might be rethrown.
optional, per default Exception
.class.
public abstract java.lang.Class<?> delegate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |