Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.struts2.jasper
Class JasperException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              javax.servlet.ServletException
                  org.apache.struts2.jasper.JasperException

All Implemented Interfaces:
  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.

Author:
  Anil K. Vijendran
See Also:
  Serialized Form

Constructor Summary
`JasperException(String reason)`
`JasperException(String reason, Throwable exception)` Creates a JasperException with the embedded exception and the reason for throwing a JasperException
`JasperException(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
`fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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(String reason)

### JasperException

    public JasperException(String reason,
                           Throwable exception)

  Creates a JasperException with the embedded exception and the reason for throwing a JasperException

### JasperException

    public JasperException(Throwable exception)

  Creates a JasperException with the embedded exception

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000–2018 Apache Software Foundation. All rights reserved.