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, toString
public UncheckedIOException(String message, IOException cause)
message
- the detail message, can be nullcause
- the IOException
public UncheckedIOException(IOException cause)
cause
- the IOException
Copyright © 2008-2019 by feilong