public final class ErrorData
extends java.lang.Object
Constructor and Description |
---|
ErrorData(java.lang.Throwable throwable,
int statusCode,
java.lang.String uri,
java.lang.String servletName)
Create a new errorData object.
|
Modifier and Type | Method and Description |
---|---|
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
|
public ErrorData(java.lang.Throwable throwable, int statusCode, java.lang.String uri, java.lang.String servletName)
public java.lang.String getRequestURI()
public java.lang.String getServletName()
public int getStatusCode()
public java.lang.Throwable getThrowable()