org.apache.catalina.deploy
public class ErrorPage extends Object implements Serializable
<error-page> element in the
deployment descriptor.
Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $
| Method Summary | |
|---|---|
| int | getErrorCode()
Return the error code. |
| String | getExceptionType()
Return the exception type. |
| String | getLocation()
Return the location. |
| void | setErrorCode(int errorCode)
Set the error code.
|
| void | setErrorCode(String errorCode)
Set the error code (hack for default XmlMapper data type).
|
| void | setExceptionType(String exceptionType)
Set the exception type.
|
| void | setLocation(String location)
Set the location.
|
| String | toString()
Render a String representation of this object. |
Parameters: errorCode The new error code
Parameters: errorCode The new error code
Parameters: exceptionType The new exception type
Parameters: location The new location