Home » apache-tomcat-6.0.26-src » org.apache » catalina » deploy » [javadoc | source]
org.apache.catalina.deploy
public class: ErrorPage [javadoc | source]
java.lang.Object
   org.apache.catalina.deploy.ErrorPage

All Implemented Interfaces:
    Serializable

Representation of an error page element for a web application, as represented in a <error-page> element in the deployment descriptor.
Method from org.apache.catalina.deploy.ErrorPage Summary:
getErrorCode,   getExceptionType,   getLocation,   setErrorCode,   setErrorCode,   setExceptionType,   setLocation,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.deploy.ErrorPage Detail:
 public int getErrorCode() 
    Return the error code.
 public String getExceptionType() 
    Return the exception type.
 public String getLocation() 
    Return the location.
 public  void setErrorCode(int errorCode) 
    Set the error code.
 public  void setErrorCode(String errorCode) 
    Set the error code (hack for default XmlMapper data type).
 public  void setExceptionType(String exceptionType) 
    Set the exception type.
 public  void setLocation(String location) 
    Set the location.
 public String toString() 
    Render a String representation of this object.