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 Details

    • UnknownStoreException

      public UnknownStoreException(String path, String message)
      Constructor.
      Parameters:
      path - path trying to access.
      message - message.
    • UnknownStoreException

      public UnknownStoreException(String path, String message, Throwable cause)
      Constructor.
      Parameters:
      path - path trying to access.
      message - message.
      cause - cause (may be null).