Class JspException

    • Constructor Detail

      • JspException

        public JspException()
        Construct a JspException.
      • JspException

        public JspException​(String msg)
        Constructs a new JSP exception with the specified message. The message can be written to the server log and/or displayed for the user.
        Parameters:
        msg - a String specifying the text of the exception message
    • Method Detail

      • getRootCause

        @Deprecated
        public Throwable getRootCause()
        Deprecated.
        As of JSP 2.1, replaced by Throwable.getCause()
        Returns the exception that caused this JSP exception.
        Returns:
        the Throwable that caused this JSP exception