public final class ErrorData
extends java.lang.Object
PageContext.getErrorData()
Constructor and Description |
---|
ErrorData(java.lang.Throwable throwable,
int statusCode,
java.lang.String uri,
java.lang.String servletName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRequestURI()
Returns the request URI.
|
java.lang.String |
getServletName()
Returns the servlet name.
|
int |
getStatusCode()
Returns the status code of the error.
|
java.lang.Throwable |
getThrowable()
Returns the Throwable that caused the error.
|
public ErrorData(java.lang.Throwable throwable, int statusCode, java.lang.String uri, java.lang.String servletName)
throwable
- statusCode
- uri
- servletName
- public java.lang.String getRequestURI()
public java.lang.String getServletName()
public int getStatusCode()
public java.lang.Throwable getThrowable()