|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ErrorHandler
The error handler for handling exceptions thrown when processing a request.
Method Summary | |
---|---|
void |
onError(ActionContext ac,
java.lang.Object action,
java.lang.Throwable ex)
Called when an exception is thrown. |
void |
onParamError(ActionContext ac,
java.lang.Object action,
java.lang.String name,
java.lang.String value,
java.lang.Throwable ex)
Called when an exception is thrown when coercing a request parameter to be stored in an action. |
Method Detail |
---|
void onError(ActionContext ac, java.lang.Object action, java.lang.Throwable ex) throws java.lang.Throwable
java.lang.Throwable
void onParamError(ActionContext ac, java.lang.Object action, java.lang.String name, java.lang.String value, java.lang.Throwable ex) throws java.lang.Throwable
name
- the parameter's namevalue
- the parameter's valueex
- the exception being caught
java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |