This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.imageio
exception 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

public exception IIOException
extends IOException

An exception class used for signaling run-time failure of reading and writing operations.

In addition to a message string, a reference to another Throwable (Error or Exception) is maintained. This reference, if non-null, refers to the event that caused this exception to occur. For example, an IOException while reading from a File would be stored there.


Constructor Summary

          Constructs an IIOException with a given message String.
IIOException(String message, Throwable cause)

          Constructs an IIOException with a given message String and a Throwable that was its underlying cause.
 
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, toString, wait, wait, wait
 

Constructor Detail

IIOException

public IIOException(String message)
Constructs an IIOException with a given message String. No underlying cause is set; getCause will return null.

Parameters:
message - the error message.

IIOException

public IIOException(String message,
                    Throwable cause)
Constructs an IIOException with a given message String and a Throwable that was its underlying cause.

Parameters:
message - the error message.
cause - the Throwable (Error or Exception) that caused this exception to occur.


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.