Package org.apache.commons.imaging
Class ImagingFormatException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.commons.imaging.ImagingRuntimeException
-
- org.apache.commons.imaging.ImagingFormatException
-
- All Implemented Interfaces:
java.io.Serializable
public class ImagingFormatException extends ImagingRuntimeException
Thrown when an image format is broken.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description ImagingFormatException(java.lang.String format, java.lang.Object... args)Constructs a new exception with the specified detail message.ImagingFormatException(java.lang.String message, java.lang.Throwable cause)Constructs a new exception with the specified detail message and cause.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ImagingFormatException
public ImagingFormatException(java.lang.String format, java.lang.Object... args)Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable).- Parameters:
format- the detail message format perString.format(String, Object...).args- the detail message argument perString.format(String, Object...).
-
ImagingFormatException
public ImagingFormatException(java.lang.String message, java.lang.Throwable cause)Constructs a new exception with the specified detail message and cause.Note that the detail message associated with
causeis not automatically incorporated in this exception's detail message.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method).cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
-