Package alluxio.exception
Enum ExceptionMessage
- java.lang.Object
-
- java.lang.Enum<ExceptionMessage>
-
- alluxio.exception.ExceptionMessage
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExceptionMessage>
@ThreadSafe public enum ExceptionMessage extends java.lang.Enum<ExceptionMessage>
Exception messages used across Alluxio. Note: To minimize merge conflicts, please sort alphabetically in this section.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage(java.lang.Object... params)
Formats the message of the exception.java.lang.String
getMessageWithUrl(java.lang.String url, java.lang.Object... params)
Formats the message of the exception with an url to consult.static ExceptionMessage
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExceptionMessage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PATH_DOES_NOT_EXIST
public static final ExceptionMessage PATH_DOES_NOT_EXIST
-
PATH_DOES_NOT_EXIST_PARTIAL_LISTING
public static final ExceptionMessage PATH_DOES_NOT_EXIST_PARTIAL_LISTING
-
INODE_NOT_FOUND_PARTIAL_LISTING
public static final ExceptionMessage INODE_NOT_FOUND_PARTIAL_LISTING
-
INODE_NOT_IN_PARTIAL_LISTING
public static final ExceptionMessage INODE_NOT_IN_PARTIAL_LISTING
-
PATH_MUST_BE_FILE
public static final ExceptionMessage PATH_MUST_BE_FILE
-
PATH_INVALID
public static final ExceptionMessage PATH_INVALID
-
STATE_LOCK_TIMED_OUT
public static final ExceptionMessage STATE_LOCK_TIMED_OUT
-
CANNOT_REQUEST_SPACE
public static final ExceptionMessage CANNOT_REQUEST_SPACE
-
NO_SPACE_FOR_BLOCK_ON_WORKER
public static final ExceptionMessage NO_SPACE_FOR_BLOCK_ON_WORKER
-
NO_WORKER_AVAILABLE
public static final ExceptionMessage NO_WORKER_AVAILABLE
-
LOCK_ID_FOR_DIFFERENT_BLOCK
public static final ExceptionMessage LOCK_ID_FOR_DIFFERENT_BLOCK
-
LOCK_ID_FOR_DIFFERENT_SESSION
public static final ExceptionMessage LOCK_ID_FOR_DIFFERENT_SESSION
-
LOCK_NOT_RELEASED
public static final ExceptionMessage LOCK_NOT_RELEASED
-
SESSION_NOT_CLOSED
public static final ExceptionMessage SESSION_NOT_CLOSED
-
LOCK_RECORD_NOT_FOUND_FOR_LOCK_ID
public static final ExceptionMessage LOCK_RECORD_NOT_FOUND_FOR_LOCK_ID
-
BLOCK_META_NOT_FOUND
public static final ExceptionMessage BLOCK_META_NOT_FOUND
-
TEMP_BLOCK_META_NOT_FOUND
public static final ExceptionMessage TEMP_BLOCK_META_NOT_FOUND
-
TIER_ALIAS_NOT_FOUND
public static final ExceptionMessage TIER_ALIAS_NOT_FOUND
-
TIER_VIEW_ALIAS_NOT_FOUND
public static final ExceptionMessage TIER_VIEW_ALIAS_NOT_FOUND
-
FAILED_CACHE
public static final ExceptionMessage FAILED_CACHE
-
READ_CLOSED_STREAM
public static final ExceptionMessage READ_CLOSED_STREAM
-
ADD_EXISTING_BLOCK
public static final ExceptionMessage ADD_EXISTING_BLOCK
-
BLOCK_NOT_FOUND_FOR_SESSION
public static final ExceptionMessage BLOCK_NOT_FOUND_FOR_SESSION
-
NO_SPACE_FOR_BLOCK_META
public static final ExceptionMessage NO_SPACE_FOR_BLOCK_META
-
BLOCK_ID_FOR_DIFFERENT_SESSION
public static final ExceptionMessage BLOCK_ID_FOR_DIFFERENT_SESSION
-
NO_EVICTION_PLAN_TO_FREE_SPACE
public static final ExceptionMessage NO_EVICTION_PLAN_TO_FREE_SPACE
-
NO_SPACE_FOR_BLOCK_MOVE
public static final ExceptionMessage NO_SPACE_FOR_BLOCK_MOVE
-
REMOVE_UNCOMMITTED_BLOCK
public static final ExceptionMessage REMOVE_UNCOMMITTED_BLOCK
-
TEMP_BLOCK_ID_COMMITTED
public static final ExceptionMessage TEMP_BLOCK_ID_COMMITTED
-
NO_BLOCK_ID_FOUND
public static final ExceptionMessage NO_BLOCK_ID_FOUND
-
UFS_BLOCK_ACCESS_TOKEN_UNAVAILABLE
public static final ExceptionMessage UFS_BLOCK_ACCESS_TOKEN_UNAVAILABLE
-
JOURNAL_WRITE_AFTER_CLOSE
public static final ExceptionMessage JOURNAL_WRITE_AFTER_CLOSE
-
JOURNAL_WRITE_FAILURE
public static final ExceptionMessage JOURNAL_WRITE_FAILURE
-
JOURNAL_FLUSH_FAILURE
public static final ExceptionMessage JOURNAL_FLUSH_FAILURE
-
DELETE_NONEMPTY_DIRECTORY_NONRECURSIVE
public static final ExceptionMessage DELETE_NONEMPTY_DIRECTORY_NONRECURSIVE
-
DELETE_ROOT_DIRECTORY
public static final ExceptionMessage DELETE_ROOT_DIRECTORY
-
PARENT_CREATION_FAILED
public static final ExceptionMessage PARENT_CREATION_FAILED
-
CANNOT_FREE_NON_EMPTY_DIR
public static final ExceptionMessage CANNOT_FREE_NON_EMPTY_DIR
-
CANNOT_FREE_NON_PERSISTED_FILE
public static final ExceptionMessage CANNOT_FREE_NON_PERSISTED_FILE
-
CANNOT_FREE_PINNED_FILE
public static final ExceptionMessage CANNOT_FREE_PINNED_FILE
-
INODE_DOES_NOT_EXIST
public static final ExceptionMessage INODE_DOES_NOT_EXIST
-
START_AFTER_DOES_NOT_MATCH_PATH
public static final ExceptionMessage START_AFTER_DOES_NOT_MATCH_PATH
-
PREFIX_DOES_NOT_MATCH_PATH
public static final ExceptionMessage PREFIX_DOES_NOT_MATCH_PATH
-
PATH_MUST_HAVE_VALID_PARENT
public static final ExceptionMessage PATH_MUST_HAVE_VALID_PARENT
-
RENAME_CANNOT_BE_TO_ROOT
public static final ExceptionMessage RENAME_CANNOT_BE_TO_ROOT
-
ROOT_CANNOT_BE_RENAMED
public static final ExceptionMessage ROOT_CANNOT_BE_RENAMED
-
JOURNAL_ENTRY_MISSING
public static final ExceptionMessage JOURNAL_ENTRY_MISSING
-
NO_WORKER_FOUND
public static final ExceptionMessage NO_WORKER_FOUND
-
DATABASE_DOES_NOT_EXIST
public static final ExceptionMessage DATABASE_DOES_NOT_EXIST
-
TABLE_DOES_NOT_EXIST
public static final ExceptionMessage TABLE_DOES_NOT_EXIST
-
TABLE_BEING_TRANSFORMED
public static final ExceptionMessage TABLE_BEING_TRANSFORMED
-
TABLE_ALREADY_TRANSFORMED
public static final ExceptionMessage TABLE_ALREADY_TRANSFORMED
-
TRANSFORM_JOB_DOES_NOT_EXIST
public static final ExceptionMessage TRANSFORM_JOB_DOES_NOT_EXIST
-
TRANSFORM_JOB_ID_NOT_FOUND_IN_JOB_SERVICE
public static final ExceptionMessage TRANSFORM_JOB_ID_NOT_FOUND_IN_JOB_SERVICE
-
MASTER_IN_SAFEMODE
public static final ExceptionMessage MASTER_IN_SAFEMODE
-
FAILED_UFS_RENAME
public static final ExceptionMessage FAILED_UFS_RENAME
-
INVALID_ARGS_NULL
public static final ExceptionMessage INVALID_ARGS_NULL
-
INVALID_ARGS_NUM
public static final ExceptionMessage INVALID_ARGS_NUM
-
INVALID_ARG_TYPE
public static final ExceptionMessage INVALID_ARG_TYPE
-
INVALID_OPTION
public static final ExceptionMessage INVALID_OPTION
-
INVALID_OPTION_COUNT
public static final ExceptionMessage INVALID_OPTION_COUNT
-
INVALID_OPTION_VALUE
public static final ExceptionMessage INVALID_OPTION_VALUE
-
INVALID_ADDRESS_VALUE
public static final ExceptionMessage INVALID_ADDRESS_VALUE
-
INVALID_EXTENSION_NOT_JAR
public static final ExceptionMessage INVALID_EXTENSION_NOT_JAR
-
DESTINATION_CANNOT_BE_FILE
public static final ExceptionMessage DESTINATION_CANNOT_BE_FILE
-
INCOMPATIBLE_VERSION
public static final ExceptionMessage INCOMPATIBLE_VERSION
-
UNABLE_TO_DETERMINE_MASTER_HOSTNAME
public static final ExceptionMessage UNABLE_TO_DETERMINE_MASTER_HOSTNAME
-
DEFAULT_PROPERTIES_FILE_DOES_NOT_EXIST
public static final ExceptionMessage DEFAULT_PROPERTIES_FILE_DOES_NOT_EXIST
-
INVALID_CONFIGURATION_KEY
public static final ExceptionMessage INVALID_CONFIGURATION_KEY
-
INVALID_CONFIGURATION_VALUE
public static final ExceptionMessage INVALID_CONFIGURATION_VALUE
-
KEY_NOT_BOOLEAN
public static final ExceptionMessage KEY_NOT_BOOLEAN
-
KEY_NOT_BYTES
public static final ExceptionMessage KEY_NOT_BYTES
-
KEY_NOT_DOUBLE
public static final ExceptionMessage KEY_NOT_DOUBLE
-
KEY_NOT_FLOAT
public static final ExceptionMessage KEY_NOT_FLOAT
-
KEY_NOT_INTEGER
public static final ExceptionMessage KEY_NOT_INTEGER
-
KEY_NOT_LONG
public static final ExceptionMessage KEY_NOT_LONG
-
KEY_NOT_MS
public static final ExceptionMessage KEY_NOT_MS
-
KEY_CIRCULAR_DEPENDENCY
public static final ExceptionMessage KEY_CIRCULAR_DEPENDENCY
-
UNDEFINED_CONFIGURATION_KEY
public static final ExceptionMessage UNDEFINED_CONFIGURATION_KEY
-
UNKNOWN_ENUM
public static final ExceptionMessage UNKNOWN_ENUM
-
UNKNOWN_PROPERTY
public static final ExceptionMessage UNKNOWN_PROPERTY
-
AUTHENTICATION_IS_NOT_ENABLED
public static final ExceptionMessage AUTHENTICATION_IS_NOT_ENABLED
-
INVALID_MODE
public static final ExceptionMessage INVALID_MODE
-
INVALID_MODE_SEGMENT
public static final ExceptionMessage INVALID_MODE_SEGMENT
-
PERMISSION_DENIED
public static final ExceptionMessage PERMISSION_DENIED
-
MOUNT_POINT_ALREADY_EXISTS
public static final ExceptionMessage MOUNT_POINT_ALREADY_EXISTS
-
MOUNT_POINT_PREFIX_OF_ANOTHER
public static final ExceptionMessage MOUNT_POINT_PREFIX_OF_ANOTHER
-
MOUNT_READONLY
public static final ExceptionMessage MOUNT_READONLY
-
MIGRATE_CANNOT_BE_TO_SUBDIRECTORY
public static final ExceptionMessage MIGRATE_CANNOT_BE_TO_SUBDIRECTORY
-
TRANSFORM_TABLE_URI_LACKS_SCHEME
public static final ExceptionMessage TRANSFORM_TABLE_URI_LACKS_SCHEME
-
TRANSFORM_TABLE_URI_LACKS_AUTHORITY
public static final ExceptionMessage TRANSFORM_TABLE_URI_LACKS_AUTHORITY
-
NO_LOCAL_BLOCK_WORKER_LOAD_TASK
public static final ExceptionMessage NO_LOCAL_BLOCK_WORKER_LOAD_TASK
-
JOB_DEFINITION_DOES_NOT_EXIST
public static final ExceptionMessage JOB_DEFINITION_DOES_NOT_EXIST
-
JOB_DOES_NOT_EXIST
public static final ExceptionMessage JOB_DOES_NOT_EXIST
-
JOB_MASTER_FULL_CAPACITY
public static final ExceptionMessage JOB_MASTER_FULL_CAPACITY
-
FAILED_COMMIT_BLOCK_TO_MASTER
public static final ExceptionMessage FAILED_COMMIT_BLOCK_TO_MASTER
-
UFS_OP_NOT_ALLOWED
public static final ExceptionMessage UFS_OP_NOT_ALLOWED
-
-
Method Detail
-
values
public static ExceptionMessage[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ExceptionMessage c : ExceptionMessage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExceptionMessage valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getMessage
public java.lang.String getMessage(java.lang.Object... params)
Formats the message of the exception.- Parameters:
params
- the parameters for the exception message- Returns:
- the formatted message
-
getMessageWithUrl
public java.lang.String getMessageWithUrl(java.lang.String url, java.lang.Object... params)
Formats the message of the exception with an url to consult.- Parameters:
url
- the url to consultparams
- the parameters for the exception message- Returns:
- the formatted message
-
-