<error-page> element in the
deployment descriptor.
| Modifier and Type | Field and Description |
|---|---|
| private int | errorCode
The error (status) code for which this error page is active. |
| private String | exceptionType
The exception type for which this error page is active. |
| private String | location
The context-relative location to handle this error or exception. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public String | |
| public String | |
| public String | |
| public void | |
| public void | setErrorCode(String
The new error code errorCode)Set the error code (hack for default XmlMapper data type). |
| public void | |
| public void | |
| public String |
| errorCode | back to summary |
|---|---|
| private int errorCode The error (status) code for which this error page is active. Note that status code 0 is used for the default error page. | |
| exceptionType | back to summary |
|---|---|
| private String exceptionType The exception type for which this error page is active. | |
| location | back to summary |
|---|---|
| private String location The context-relative location to handle this error or exception. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ErrorPage | back to summary |
|---|---|
| public ErrorPage() | |
| getErrorCode | back to summary |
|---|---|
public int getErrorCode()
| |
| getExceptionType | back to summary |
|---|---|
public String getExceptionType()
| |
| getLocation | back to summary |
|---|---|
public String getLocation()
| |
| getName | back to summary |
|---|---|
| public String getName() | |
| setErrorCode | back to summary |
|---|---|
| public void setErrorCode(int errorCode) Set the error code.
| |
| setErrorCode | back to summary |
|---|---|
| public void setErrorCode(String errorCode) Set the error code (hack for default XmlMapper data type).
| |
| setExceptionType | back to summary |
|---|---|
| public void setExceptionType(String exceptionType) Set the exception type.
| |
| setLocation | back to summary |
|---|---|
| public void setLocation(String location) Set the location.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Render a String representation of this object.
| |