org.apache.commons.imaging

## Class ImageWriteException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - org.apache.commons.imaging.ImagingException
      - - org.apache.commons.imaging.ImageWriteException

- All Implemented Interfaces:
    Serializable
  Direct Known Subclasses:
    ExifRewriter.ExifOverflowException, JpegRewriter.JpegSegmentOverflowException

      public class ImageWriteException
      extends ImagingException

  A custom exception thrown when an ImageParser or other utility encounters a format-violation, non-supported element, or other condition that renders image data unwritable.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ImageWriteException(String message)`
    `ImageWriteException(String message, Object data)`
    `ImageWriteException(String message, Throwable cause)`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ImageWriteException

          public ImageWriteException(String message)

    - #### ImageWriteException

          public ImageWriteException(String message,
                                     Throwable cause)

    - #### ImageWriteException

          public ImageWriteException(String message,
                                     Object data)

Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.