javax.imageio

Class IIOException

public class IIOException extends IOException

A runtime exception to indicate image reading and writing failures.
Constructor Summary
IIOException(String message)
Create an exception with a descriptive error message.
IIOException(String message, Throwable cause)
Create an exception with a descriptive error message.

Constructor Detail

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.