JDK-4864950 : IOExceptions should have error codes, not just text messages
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 1.3.1
  • Priority: P5
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2003-05-15
  • Updated: 2003-05-16
  • Resolved: 2003-05-16
Related Reports
Duplicate :  
Description

Name: pa48320			Date: 05/15/2003


when an IOException gets thrown, say by a class in the java.io package, the only way to tell exactly what happened is by parsing the exception message, but this does not work in international environments.  a language-independent error code should be returned so that for example a "File locked" IOException could be determined to be such.
(Review ID: 185894) 
======================================================================