Class ErrorAttributes

  • public class ErrorAttributes
    extends Object
    Represents additional error attributes present in a ServletRequest when the servlet container is handling an error or a forward to an error page mapped by error-page element in web.xml. See documentation for the following request attributes for the values stored in this object:
    • RequestDispatcher.ERROR_STATUS_CODE
    • RequestDispatcher.ERROR_MESSAGE
    • RequestDispatcher.ERROR_REQUEST_URI
    • RequestDispatcher.ERROR_SERVLET_NAME
    • RequestDispatcher.ERROR_EXCEPTION_TYPE
    • RequestDispatcher.ERROR_EXCEPTION