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=28123>.
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=28123

ClientAbortException should default to the description of the wrapped exception

           Summary: ClientAbortException should default to the description
                    of the wrapped exception
           Product: Tomcat 5
           Version: 5.0.19
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Browsing the source code, I have seen that the call

throw new ClientAbortException( e )

does store null as the message description. IMHO, the ClientAbortException
should store the result of e.getDescription() here if no own description is
given.

If some application component later prints

    ...
    } catch ( Exception e ) {
        log( "..." + e );
    }

there would be a "null" in the log instead of anything useful.

This would make the logging a little bit more useful.

Cheers, Jörg

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

Reply via email to