spec: ImageWriter - exceptions should be specified in processWarningOccurred

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 5.0
    • Affects Version/s: 1.4.0
    • Component/s: client-libs
    • None
    • tiger
    • generic
    • generic

      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.

            Assignee:
            Christopher Campbell (Inactive)
            Reporter:
            Christopher Campbell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: