javax.servlet.jsp
public final class ErrorData extends Object
Since: 2.0
See Also: PageContext
Constructor Summary | |
---|---|
ErrorData(Throwable throwable, int statusCode, String uri, String servletName)
Creates a new ErrorData object.
|
Method Summary | |
---|---|
String | getRequestURI()
Returns the request URI.
|
String | getServletName()
Returns the name of the servlet invoked.
|
int | getStatusCode()
Returns the status code of the error.
|
Throwable | getThrowable()
Returns the Throwable that caused the error.
|
Parameters: throwable The Throwable that is the cause of the error statusCode The status code of the error uri The request URI servletName The name of the servlet invoked
Returns: The request URI
Returns: The name of the servlet invoked
Returns: The status code of the error
Returns: The Throwable that caused the error