|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the exception type for which this info appliespublic interface ExceptionInfo<T extends Exception>
Represents information on how to handle a specific exception type.
Method Summary | |
---|---|
String |
getErrorMessage(T exception)
Get the error message to display. |
String |
getErrorTitle(T exception)
Get the error title to display. |
Class<T> |
getExceptionType()
Get the exception type for which this info applies. |
int |
getHttpErrorCode(T exception)
Get the HTTP status code for this error, e.g. |
Method Detail |
---|
Class<T> getExceptionType()
String getErrorTitle(T exception)
exception
- the exception representing the error
null
String getErrorMessage(T exception)
exception
- the exception representing the error
null
int getHttpErrorCode(T exception)
HttpServletResponse.SC_INTERNAL_SERVER_ERROR
.
exception
- the exception representing the error
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |