|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Inherited public @interface HttpError
Specifies that an exception results in a HTTP error.
| Optional Element Summary | |
|---|---|
boolean |
end
Deprecated. use @ApplicationException(end=true) |
int |
errorCode
The HTTP error code, default to 500. |
String |
message
The message to be sent in the HTTP error, default to using the exception message. |
public abstract String message
public abstract int errorCode
public abstract boolean end
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||