DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31392>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31392

Add getCause() method to javax.servlet.ServletException

           Summary: Add getCause() method to javax.servlet.ServletException
           Product: Tomcat 5
           Version: 5.0.28
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Jasper
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Java 1.4 uses the getCause() method to get the root cause and append its String
representation to the String returned by Throwable.toString() which can be very
convenient when debugging.

Here is the method.

    /**
    * Returns the exception that caused this servlet exception.  This method
    * is used starting at Java 1.4.
    */
    public Throwable getCause() {
        return rootCause;
    }

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to