javax.imageio
Class IIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
javax.imageio.IIOException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- IIOInvalidTreeException
public class IIOException
- extends IOException
A runtime exception to indicate image reading and writing failures.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IIOException
public IIOException(String message)
- Create an exception with a descriptive error message.
- Parameters:
message
- The descriptive error message.
IIOException
public IIOException(String message,
Throwable cause)
- Create an exception with a descriptive error message.
- Parameters:
message
- The descriptive error message.cause
- The cause for this exception.