org.apache.taglibs.xtags.util
Class JspNestedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.servlet.jsp.JspException
              extended byorg.apache.taglibs.xtags.util.JspNestedException
All Implemented Interfaces:
java.io.Serializable

public class JspNestedException
extends javax.servlet.jsp.JspException

A JspException which is nested to preserve stack traces. This class is not needed in JSP1.2 onwards.

    try {
        ...
    } catch (Exception e) {
        throw new RuntimeException(e);
    }
 

Author:
James Strachan
See Also:
Serialized Form

Constructor Summary
JspNestedException(java.lang.String message, java.lang.Exception nestedException)
           
JspNestedException(java.lang.Throwable nestedException)
           
 
Method Summary
 java.lang.Throwable fillInStackTrace()
           
 java.lang.Throwable getNestedException()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream s)
           
 void printStackTrace(java.io.PrintWriter w)
           
 
Methods inherited from class javax.servlet.jsp.JspException
getRootCause
 
Methods inherited from class java.lang.Throwable
getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JspNestedException

public JspNestedException(java.lang.Throwable nestedException)

JspNestedException

public JspNestedException(java.lang.String message,
                          java.lang.Exception nestedException)
Method Detail

printStackTrace

public void printStackTrace(java.io.PrintStream s)

printStackTrace

public void printStackTrace(java.io.PrintWriter w)

printStackTrace

public void printStackTrace()

fillInStackTrace

public java.lang.Throwable fillInStackTrace()

getNestedException

public java.lang.Throwable getNestedException()


Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.