com.caucho.jsp
Class QJspException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.servlet.jsp.JspException
              extended by com.caucho.jsp.QJspException
All Implemented Interfaces:
ExceptionWrapper, java.io.Serializable

public class QJspException
extends JspException
implements ExceptionWrapper

A JSP exception which includes the proper error page.

See Also:
Serialized Form

Constructor Summary
QJspException()
           
QJspException(java.lang.String msg)
           
QJspException(java.lang.String msg, java.lang.String errorPage)
           
QJspException(java.lang.Throwable e)
           
QJspException(java.lang.Throwable e, java.lang.String errorPage)
           
 
Method Summary
static JspException createJspException(java.lang.Throwable e)
           
 java.lang.String getErrorPage()
           
 java.lang.Throwable getRootCause()
          Returns the root cause of the exception.
 
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

QJspException

public QJspException()

QJspException

public QJspException(java.lang.String msg)

QJspException

public QJspException(java.lang.String msg,
                     java.lang.String errorPage)

QJspException

public QJspException(java.lang.Throwable e)

QJspException

public QJspException(java.lang.Throwable e,
                     java.lang.String errorPage)
Method Detail

createJspException

public static JspException createJspException(java.lang.Throwable e)

getRootCause

public java.lang.Throwable getRootCause()
Description copied from class: JspException
Returns the root cause of the exception.

Specified by:
getRootCause in interface ExceptionWrapper
Overrides:
getRootCause in class JspException

getErrorPage

public java.lang.String getErrorPage()