|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) public static @interface Jpf.Catch
was jpf:catch
Required Element Summary | |
---|---|
Class<? extends Throwable> |
type
the type of exception to catch (required ) |
Optional Element Summary | |
---|---|
String |
message
the literal message to send to the exception handler method (optional) |
String |
messageKey
a message-resources key to lookup the message that will be sent to the exception handler method (optional ) |
String |
method
the Jpf.ExceptionHandler method to invoke when the exception occurs (optional ) (cannot be present if path is present ) |
String |
path
the destination URI when the exception occurs (cannot be present if method is present) (optional ) |
Element Detail |
---|
public abstract Class<? extends Throwable> type
public abstract String method
public abstract String path
public abstract String message
public abstract String messageKey
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |