Class OpenDirectoryException

  • All Implemented Interfaces:
    java.io.Serializable

    @ThreadSafe
    public class OpenDirectoryException
    extends AlluxioException
    The exception thrown when trying to call openFile on a directory.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      OpenDirectoryException​(AlluxioURI path)
      Constructs a new exception stating that the given directory cannot be opened for reading.
      OpenDirectoryException​(java.lang.String message)
      Constructs a new exception with the specified detail message.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • OpenDirectoryException

        public OpenDirectoryException​(java.lang.String message)
        Constructs a new exception with the specified detail message.
        Parameters:
        message - the detail message
      • OpenDirectoryException

        public OpenDirectoryException​(AlluxioURI path)
        Constructs a new exception stating that the given directory cannot be opened for reading.
        Parameters:
        path - the path to the directory