|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDispatcherErrorHandler
Defines an error handler for the Controller errors and resulting actions
Field Summary | |
---|---|
static String |
EXCEPTION
The exception that caused the error attribute name |
static String |
ORIGINAL_REQUEST
The original request that caused the error attribute name |
Method Summary | |
---|---|
IDIFResponse |
getDefaultErrorResponse(IDIFRequest originalrequest,
Exception exception)
Gets the default error response |
IDIFResponse |
processException(IDIFRequest originalRequest,
BusinessFlowException businessFlowException)
Process an exception and determine the resulting action response |
IDIFResponse |
processException(IDIFRequest originalRequest,
ControllerException controllerException)
Process an exception and determine the resulting action response |
IDIFResponse |
processException(IDIFRequest originalRequest,
RuntimeException runtimeException)
Process an exception and determine the resulting action response |
Field Detail |
---|
static final String ORIGINAL_REQUEST
static final String EXCEPTION
Method Detail |
---|
IDIFResponse getDefaultErrorResponse(IDIFRequest originalrequest, Exception exception)
originalrequest
- the request that generated the errorexception
- the exception that caused the error if available (null otherwise)
IDIFResponse processException(IDIFRequest originalRequest, BusinessFlowException businessFlowException)
originalRequest
- the request that generated the errorbusinessFlowException
-
IDIFResponse processException(IDIFRequest originalRequest, RuntimeException runtimeException)
originalRequest
- the request that generated the errorruntimeException
-
IDIFResponse processException(IDIFRequest originalRequest, ControllerException controllerException)
originalRequest
- the request that generated the errorcontrollerException
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |