Bug 35984 - ClientAbortException should override getCause()
ClientAbortException should override getCause()
Status: RESOLVED FIXED
Product: Tomcat 5
Classification: Unclassified
Component: Catalina
5.5.9
All All
: P2 normal (vote)
: ---
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2005-08-02 21:59 UTC by Gili
Modified: 2005-09-22 11:24 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.