au.com.whitesquare.waf.command.response
Class ExceptionForwardResponse
java.lang.Object
au.com.whitesquare.waf.command.Response
au.com.whitesquare.waf.command.response.BaseForwardResponse
au.com.whitesquare.waf.command.response.JSPForwardResponse
au.com.whitesquare.waf.command.response.ExceptionForwardResponse
- public class ExceptionForwardResponse
- extends JSPForwardResponse
Last Modified $Date: 2004/11/17 12:16:07 $
- Version:
- $Revision: 1.1 $
- Author:
- Garth Chambers
|
Constructor Summary |
ExceptionForwardResponse(Exception ex)
Constructs a new ExceptionForwardResponse with the given
Exception, and the URL will be set to the default WAF error page. |
ExceptionForwardResponse(Exception ex,
String url)
Configures the response to be forwarded to the given
URL, and sets the message of the Response to be that of the
Exception that has been caught. |
| Methods inherited from class au.com.whitesquare.waf.command.response.BaseForwardResponse |
getActualData, getData, getErrorCode, getFieldError, getMessage, getRequestValue, getUnreadErrors, getURL, hasFieldError, isErrorResponse, putData, setErrorCode, setErrorResponse, setErrors, setMessage, setParameters, setURL, toString |
| Methods inherited from class au.com.whitesquare.waf.command.Response |
init |
ExceptionForwardResponse
public ExceptionForwardResponse(Exception ex)
- Constructs a new
ExceptionForwardResponse with the given
Exception, and the URL will be set to the default WAF error page.
- Parameters:
ex - the Exception being caught
ExceptionForwardResponse
public ExceptionForwardResponse(Exception ex,
String url)
- Configures the response to be forwarded to the given
URL, and sets the message of the Response to be that of the
Exception that has been caught.
- Parameters:
ex - the Exception being caughturl - the URL that the Response forwards to. If null,
it will forward to the default WAF error page.
Copyright © 2004 Whitesquare Software. All Rights Reserved.