javax.servlet.jsp
Class ErrorData

java.lang.Object
  extended by javax.servlet.jsp.ErrorData

public final class ErrorData
extends java.lang.Object

Information about an error for error pages.


Constructor Summary
ErrorData(java.lang.Throwable throwable, int statusCode, java.lang.String uri, java.lang.String servletName)
          Create a new errorData object.
 
Method Summary
 java.lang.String getRequestURI()
          Returns the error's request URI.
 java.lang.String getServletName()
          Returns the error's servlet-name.
 int getStatusCode()
          Returns the error's status code
 java.lang.Throwable getThrowable()
          Returns the Throwable which caused the error
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorData

public ErrorData(java.lang.Throwable throwable,
                 int statusCode,
                 java.lang.String uri,
                 java.lang.String servletName)
Create a new errorData object.

Method Detail

getRequestURI

public java.lang.String getRequestURI()
Returns the error's request URI.


getServletName

public java.lang.String getServletName()
Returns the error's servlet-name.


getStatusCode

public int getStatusCode()
Returns the error's status code


getThrowable

public java.lang.Throwable getThrowable()
Returns the Throwable which caused the error