Class ResponseErrorReport

  • All Implemented Interfaces:
    java.io.Serializable

    public class ResponseErrorReport
    extends com.ibm.websphere.servlet.error.ServletErrorReport
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class com.ibm.websphere.servlet.error.ServletErrorReport

        ATTRIBUTE_NAME
    • Constructor Summary

      Constructors 
      Constructor Description
      ResponseErrorReport()  
      ResponseErrorReport​(java.lang.String message)
      Constructs a new ResponseErrorReport with the specified message.
      ResponseErrorReport​(java.lang.String message, java.lang.Throwable rootCause)
      Constructs a new ResponseErrorReport with the specified message and root cause.
      ResponseErrorReport​(java.lang.Throwable rootCause)
      Constructs a new WebAppErrorReport with the specified message and root cause.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setErrorCode​(int sc)
      Set the error code of the response.
      void setTargetServletName​(java.lang.String servletName)
      Set the name of the target Servlet.
      • Methods inherited from class com.ibm.websphere.servlet.error.ServletErrorReport

        getDebugMessageAsHTML, getErrorCode, getExceptionClass, getExceptionType, getMessage, getMessageAsHTML, getStackTraceAsString, getTargetServletName, getUnencodedMessage, getUnencodedMessageAsHTML
      • Methods inherited from class javax.servlet.ServletException

        getRootCause
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ResponseErrorReport

        public ResponseErrorReport()
      • ResponseErrorReport

        public ResponseErrorReport​(java.lang.String message)
        Constructs a new ResponseErrorReport with the specified message.
        Parameters:
        message - Message of exception
      • ResponseErrorReport

        public ResponseErrorReport​(java.lang.String message,
                                   java.lang.Throwable rootCause)
        Constructs a new ResponseErrorReport with the specified message and root cause.
        Parameters:
        message - Message of exception
        rootCause - Exception that caused this exception to be raised
      • ResponseErrorReport

        public ResponseErrorReport​(java.lang.Throwable rootCause)
        Constructs a new WebAppErrorReport with the specified message and root cause.
        Parameters:
        rootCause - Exception that caused this exception to be raised
    • Method Detail

      • setErrorCode

        public void setErrorCode​(int sc)
        Set the error code of the response.
        Overrides:
        setErrorCode in class com.ibm.websphere.servlet.error.ServletErrorReport
      • setTargetServletName

        public void setTargetServletName​(java.lang.String servletName)
        Set the name of the target Servlet.