javax.imageio
Class IIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by 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

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.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

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.