Package alluxio.exception
Class OpenDirectoryException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- alluxio.exception.AlluxioException
-
- alluxio.exception.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.
-
-
-
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
-
-