public class UncheckedIOException extends DefaultRuntimeException
IOException with an unchecked exception.
注:jdk1.8 自带了 java.io.UncheckedIOException
| Constructor and Description |
|---|
UncheckedIOException(IOException cause)
Constructs an instance of this class.
|
UncheckedIOException(String message,
IOException cause)
Constructs an instance of this class.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UncheckedIOException(String message, IOException cause)
message - the detail message, can be nullcause - the IOExceptionpublic UncheckedIOException(IOException cause)
cause - the IOExceptionCopyright © 2008-2019 by feilong