Class JasperException

  • All Implemented Interfaces:
    java.io.Serializable

    public class JasperException
    extends javax.servlet.ServletException
    Base class for all exceptions generated by the JSP engine. Makes it convienient to catch just this at the top-level.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      JasperException​(java.lang.String reason)  
      JasperException​(java.lang.String reason, java.lang.Throwable exception)
      Creates a JasperException with the embedded exception and the reason for throwing a JasperException
      JasperException​(java.lang.Throwable exception)
      Creates a JasperException with the embedded exception
    • Method Summary

      • Methods inherited from class javax.servlet.ServletException

        getRootCause
      • Methods inherited from class java.lang.Throwable

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

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

      • JasperException

        public JasperException​(java.lang.String reason)
      • JasperException

        public JasperException​(java.lang.String reason,
                               java.lang.Throwable exception)
        Creates a JasperException with the embedded exception and the reason for throwing a JasperException
      • JasperException

        public JasperException​(java.lang.Throwable exception)
        Creates a JasperException with the embedded exception