Bug 35984

Summary: ClientAbortException should override getCause()
Product: Tomcat 5 Reporter: Gili <cowwoc>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Severity: normal    
Priority: P2    
Version: 5.5.9   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Gili 2005-08-02 21:59:29 UTC
We're coding up special handling for "connection reset by peer" messages in Wicket.

Currently ClientAbortException does not override getCause() to return
getThrowable(). This makes it difficult for Wicket to safely intercept
"connection reset by peer" messages since we cannot catch ClientAbortException
(which is Tomcat-specific) and we are forced to parse Exception.getMessage() for
"connection reset by peer". This is error-prone because we want to rely as
little as possible on the contents of the message -- different JVMs throw
different messages sometimes.

Can you please try fixing this for the next release?
Comment 1 Remy Maucherat 2005-09-22 19:24:46 UTC
This has been fixed in 5.5.11.