JDK-6706203 : seprate exception for Device Out of Space
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 6u10
  • Priority: P5
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2008-05-22
  • Updated: 2010-04-04
  • Resolved: 2008-05-22
Related Reports
Duplicate :  
Description
A DESCRIPTION OF THE REQUEST :
Currently, a new IOException("Device Out of Space") is thrown on device out of space. A separate exception would be good.

JUSTIFICATION :
Currently, to check if a IOException is due to disk full, we have to match the message. This make the code ugly and clustering... A subclass of IOException should be created.