Class JasperException

  • All Implemented Interfaces:

    public class JasperException
    extends ServletException
    Base class for all exceptions generated by the JSP engine. Makes it convenient to catch just this at the top-level.
    Anil K. Vijendran
    See Also:
    Serialized Form
    • Constructor Detail

      • JasperException

        public JasperException​(String reason)
      • JasperException

        public JasperException​(String reason,
                               Throwable exception)
        Creates a JasperException with the embedded exception and the reason for throwing a JasperException.
        reason - The exception message
        exception - The root cause
      • JasperException

        public JasperException​(Throwable exception)
        Creates a JasperException with the embedded exception.
        exception - The root cause