Package alluxio.exception
Class DirectoryNotEmptyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- alluxio.exception.AlluxioException
-
- alluxio.exception.DirectoryNotEmptyException
-
- All Implemented Interfaces:
java.io.Serializable
@ThreadSafe public class DirectoryNotEmptyException extends AlluxioException
Exception for situations where an operation fails because a directory is not empty. An example of this would be deleting a nonempty directory without specifying 'recursive'.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DirectoryNotEmptyException(ExceptionMessage message, java.lang.Object... params)
Constructs a new exception with the specified exception message and multiple parameters.DirectoryNotEmptyException(ExceptionMessage message, java.lang.Throwable cause, java.lang.Object... params)
Constructs a new exception with the specified exception message, the cause and multiple parameters.DirectoryNotEmptyException(java.lang.String message)
Constructs a new exception with the specified detail message.DirectoryNotEmptyException(java.lang.String message, java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.
-
-
-
Constructor Detail
-
DirectoryNotEmptyException
public DirectoryNotEmptyException(java.lang.String message)
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message
-
DirectoryNotEmptyException
public DirectoryNotEmptyException(java.lang.String message, java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.- Parameters:
message
- the detail messagecause
- the cause
-
DirectoryNotEmptyException
public DirectoryNotEmptyException(ExceptionMessage message, java.lang.Object... params)
Constructs a new exception with the specified exception message and multiple parameters.- Parameters:
message
- the exception messageparams
- the parameters
-
DirectoryNotEmptyException
public DirectoryNotEmptyException(ExceptionMessage message, java.lang.Throwable cause, java.lang.Object... params)
Constructs a new exception with the specified exception message, the cause and multiple parameters.- Parameters:
message
- the exception messagecause
- the causeparams
- the parameters
-
-