| 
 | Apache Tomcat 6.0.53 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.catalina.deploy.ErrorPage
public class ErrorPage
Representation of an error page element for a web application,
 as represented in a <error-page> element in the
 deployment descriptor.
| Constructor Summary | |
|---|---|
| ErrorPage() | |
| Method Summary | |
|---|---|
|  int | getErrorCode()Return the error code. | 
|  java.lang.String | getExceptionType()Return the exception type. | 
|  java.lang.String | getLocation()Return the location. | 
|  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. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public ErrorPage()
| Method Detail | 
|---|
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.Object| 
 | Apache Tomcat 6.0.53 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||