Bug 35984 - ClientAbortException should override getCause()
Summary: ClientAbortException should override getCause()
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 5.5.9
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2005-08-02 21:59 UTC by Gili
Modified: 2005-09-22 11:24 UTC (History)
0 users


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.