Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4394925

Image I/O methods should throw IOException instead of IIOException

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.0
    • client-libs
    • None
    • beta
    • generic
    • solaris_7
    • Verified

        A reviewer of the API suggests that methods should be declared to throw an
      IOException, although all internally generated exceptions will actually
      be IIOExceptions. This behavior is more consistent with other APIs and
      does not require plug-ins to "wrap" true IOExceptions.

        The file javax.imageio.event.IIOWriteWarningListener imports IIOException
      but does not need to. This import should be removed.

            dricesunw Daniel Rice (Inactive)
            dricesunw Daniel Rice (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: