Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » jasper » [javadoc | source]
org.apache.jasper
public class: JasperException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         javax.servlet.ServletException
            org.apache.jasper.JasperException

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    ParseException

Base class for all exceptions generated by the JSP engine. Makes it convienient to catch just this at the top-level.
Constructor:
 public JasperException(String reason) 
 public JasperException(Throwable exception) 
    Creates a JasperException with the embedded exception
 public JasperException(String reason,
    Throwable exception) 
    Creates a JasperException with the embedded exception and the reason for throwing a JasperException
Methods from javax.servlet.ServletException:
getRootCause
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait