Package org.apache.hadoop.fs.s3a
Class UnknownStoreException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.fs.PathIOException
org.apache.hadoop.fs.s3a.UnknownStoreException
- All Implemented Interfaces:
Serializable
@Public
@Evolving
public class UnknownStoreException
extends org.apache.hadoop.fs.PathIOException
The bucket or other AWS resource is unknown.
Why not a subclass of FileNotFoundException?
There's too much code which caches an FNFE and infers that the file isn't
there - a missing bucket is far more significant and generally should
not be ignored.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnknownStoreException(String path, String message) Constructor.UnknownStoreException(String path, String message, Throwable cause) Constructor. -
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
-
UnknownStoreException
Constructor.- Parameters:
path- path trying to access.message- message.
-
UnknownStoreException
Constructor.- Parameters:
path- path trying to access.message- message.cause- cause (may be null).
-