JDK-4891582 : spec: ImageWriter - exceptions should be specified in processWarningOccurred
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.imageio
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-07-16
  • Updated: 2017-05-16
  • Resolved: 2003-08-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
Other
5.0 tigerFixed
Related Reports
Relates :  
Description
The specification for the following methods in javax.imageio.ImageWriter needs
to declare various IllegalArgumentExceptions to be thrown:
processWarningOccurred(int imageIndex, String warning);
processWarningOccurred(int imageIndex, String baseName, String keyword);

The declared exceptions should be identical to those declared by the
ImageReader.processWarningOccurred() methods.

Also, the implementation for these methods in ImageWriter needs to be updated
to throw the appropriate exceptions on bad input.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b15
2004-06-14

EVALUATION As specified in the description field. ###@###.### 2003-07-16 I updated the javadoc for those two methods, and we are now checking for bad input parameters and throwing the specified exceptions as necessary. ###@###.### 2003-07-23
2003-07-23