|
Préférences
Moteurs de recherche
|
||||||||
JavaTM 2 Platform Std. Ed. v1.4.2
javax.imageio
|
Constructor Summary | |
IIOException(String message)
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. |
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 |
public IIOException(String message)
IIOException
with a given message
String
. No underlying cause is set;
getCause
will return null
.
message
- the error message.Throwable.getMessage()
public IIOException(String message, Throwable cause)
IIOException
with a given message
String
and a Throwable
that was its
underlying cause.
message
- the error message.cause
- the Throwable
(Error
or
Exception
) that caused this exception to occur.Throwable.getCause()
,
Throwable.getMessage()