JDK-4144452 : java.io.IOExceptioin: Add Broken pipe subclass
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 1.1.6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 1998-06-01
  • Updated: 1998-11-16
  • Resolved: 1998-11-16
Related Reports
Duplicate :  
Description

Name: paC48320			Date: 06/01/98


Certain IOException's such as "Broken pipe" could
well be made into subclasses of IOException without
breaking any nonpathological code. This would be
helpful for e.g. HTTP clients or servers that wish
to peacefully ignore a certain set of network errors
while others may really be critical. Otherwise a
messy string compare is needed.
(Review ID: 30629)
======================================================================

Comments
WORK AROUND Name: paC48320 Date: 06/01/98 try { // code... } catch (IOException e) { if (e.getMessage.equalsIgnoreCase("broken pipe") { // ignore } else { throw e; } } ======================================================================
11-06-2004

EVALUATION Known problem, already reported. -- mr@eng 1998/11/16
11-06-0182