Package org.apache.hadoop.fs.impl
Class WrappedIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.io.UncheckedIOException
org.apache.hadoop.fs.impl.WrappedIOException
- All Implemented Interfaces:
Serializable
Deprecated.
A wrapper for an IOException.
The constructor signature guarantees the cause will be an IOException,
and as it checks for a null-argument, non-null.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWrappedIOException(IOException cause) Deprecated.Construct from a non-null IOException. -
Method Summary
Methods inherited from class java.io.UncheckedIOException
getCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WrappedIOException
Deprecated.Construct from a non-null IOException.- Parameters:
cause- inner cause- Throws:
NullPointerException- if the cause is null.
-
UncheckedIOExceptiondirectly.]