Package org.apache.hadoop.fs
Class ClosedIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.fs.PathIOException
org.apache.hadoop.fs.ClosedIOException
- All Implemented Interfaces:
Serializable
@Public
@Unstable
public class ClosedIOException
extends org.apache.hadoop.fs.PathIOException
Exception to denote if the underlying stream, cache or other closable resource
is closed.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionClosedIOException(String path, String message) Appends the custom error-message to the default error message. -
Method Summary
Methods inherited from class org.apache.hadoop.fs.PathIOException
getMessage, getPath, getTargetPath, setOperation, setTargetPath, withFullyQualifiedPathMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ClosedIOException
Appends the custom error-message to the default error message.- Parameters:
path- path that encountered the closed resource.message- custom error message.
-