public class UncheckedIOException extends RuntimeException
IOException with an unchecked exception.
| Constructor and Description |
|---|
UncheckedIOException(IOException
Constructs an instance of this class.
|
UncheckedIOException(String
Constructs an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
IOException |
getCause()
Returns the cause of this exception.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UncheckedIOException(Stringmessage, IOException cause)
message - the detail message, can be null
cause - the
IOException
NullPointerException - if the cause is
null
public UncheckedIOException(IOExceptioncause)
cause - the
IOException
NullPointerException - if the cause is
null
public IOExceptiongetCause()