java.io.Serializablepublic class ErrorPage
extends java.lang.Object
implements java.io.Serializable
<error-page> element in the
deployment descriptor.| Constructor | Description |
|---|---|
ErrorPage() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getErrorCode() |
|
java.lang.String |
getExceptionType() |
|
java.lang.String |
getLocation() |
|
java.lang.String |
getName() |
|
void |
setErrorCode(int errorCode) |
Set the error code.
|
void |
setErrorCode(java.lang.String errorCode) |
Set the error code (hack for default XmlMapper data type).
|
void |
setExceptionType(java.lang.String exceptionType) |
Set the exception type.
|
void |
setLocation(java.lang.String location) |
Set the location.
|
java.lang.String |
toString() |
Render a String representation of this object.
|
public int getErrorCode()
public void setErrorCode(int errorCode)
errorCode - The new error codepublic void setErrorCode(java.lang.String errorCode)
errorCode - The new error codepublic java.lang.String getExceptionType()
public void setExceptionType(java.lang.String exceptionType)
exceptionType - The new exception typepublic java.lang.String getLocation()
public void setLocation(java.lang.String location)
location - The new locationpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getName()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.