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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21569

ExceptionHandler modification to provide access to the stack trace

           Summary: ExceptionHandler modification to provide access to the
                    stack trace
           Product: Struts
           Version: 1.1 Final
          Platform: All
               URL: n/a
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Controller
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Full straces are often critical during the development process. I suggest a 
modification to the standard ExceptionHandler to provide easier access to stack 
traces in subclasses, without having to recreate the logic from the 
ExceptionHandler. Probably the simplest way to do this without breaking 
existing code is to provide a protected method like:

    protected void logException(Exception ex) {
        // Does nothing by default
    }

This would get called by the execute() method.

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

Reply via email to