@ThreadSafe public enum ExceptionMessage extends Enum<ExceptionMessage>
Modifier and Type | Method and Description |
---|---|
String |
getMessage(Object... params)
Formats the message of the exception.
|
String |
getMessageWithUrl(String url,
Object... params)
Formats the message of the exception with an url to consult.
|
static ExceptionMessage |
valueOf(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.
|
public static final ExceptionMessage PATH_DOES_NOT_EXIST
public static final ExceptionMessage PATH_DOES_NOT_EXIST_PARTIAL_LISTING
public static final ExceptionMessage INODE_NOT_FOUND_PARTIAL_LISTING
public static final ExceptionMessage INODE_NOT_IN_PARTIAL_LISTING
public static final ExceptionMessage PATH_MUST_BE_FILE
public static final ExceptionMessage PATH_INVALID
public static final ExceptionMessage STATE_LOCK_TIMED_OUT
public static final ExceptionMessage CANNOT_REQUEST_SPACE
public static final ExceptionMessage NO_SPACE_FOR_BLOCK_ON_WORKER
public static final ExceptionMessage NO_WORKER_AVAILABLE
public static final ExceptionMessage BLOCK_META_NOT_FOUND
public static final ExceptionMessage TEMP_BLOCK_META_NOT_FOUND
public static final ExceptionMessage TIER_ALIAS_NOT_FOUND
public static final ExceptionMessage TIER_VIEW_ALIAS_NOT_FOUND
public static final ExceptionMessage FAILED_CACHE
public static final ExceptionMessage READ_CLOSED_STREAM
public static final ExceptionMessage ADD_EXISTING_BLOCK
public static final ExceptionMessage BLOCK_NOT_FOUND_FOR_SESSION
public static final ExceptionMessage NO_SPACE_FOR_BLOCK_META
public static final ExceptionMessage BLOCK_ID_FOR_DIFFERENT_SESSION
public static final ExceptionMessage NO_EVICTION_PLAN_TO_FREE_SPACE
public static final ExceptionMessage NO_SPACE_FOR_BLOCK_MOVE
public static final ExceptionMessage REMOVE_UNCOMMITTED_BLOCK
public static final ExceptionMessage TEMP_BLOCK_ID_COMMITTED
public static final ExceptionMessage JOURNAL_WRITE_AFTER_CLOSE
public static final ExceptionMessage JOURNAL_WRITE_FAILURE
public static final ExceptionMessage JOURNAL_FLUSH_FAILURE
public static final ExceptionMessage DELETE_NONEMPTY_DIRECTORY_NONRECURSIVE
public static final ExceptionMessage DELETE_ROOT_DIRECTORY
public static final ExceptionMessage PARENT_CREATION_FAILED
public static final ExceptionMessage CANNOT_FREE_NON_EMPTY_DIR
public static final ExceptionMessage CANNOT_FREE_NON_PERSISTED_FILE
public static final ExceptionMessage CANNOT_FREE_PINNED_FILE
public static final ExceptionMessage INODE_DOES_NOT_EXIST
public static final ExceptionMessage START_AFTER_DOES_NOT_MATCH_PATH
public static final ExceptionMessage PREFIX_DOES_NOT_MATCH_PATH
public static final ExceptionMessage PATH_MUST_HAVE_VALID_PARENT
public static final ExceptionMessage RENAME_CANNOT_BE_TO_ROOT
public static final ExceptionMessage ROOT_CANNOT_BE_RENAMED
public static final ExceptionMessage JOURNAL_ENTRY_MISSING
public static final ExceptionMessage CANNOT_OVERWRITE_DIRECTORY
public static final ExceptionMessage CANNOT_OVERWRITE_FILE_WITHOUT_OVERWRITE
public static final ExceptionMessage NO_WORKER_FOUND
public static final ExceptionMessage DATABASE_DOES_NOT_EXIST
public static final ExceptionMessage TABLE_DOES_NOT_EXIST
public static final ExceptionMessage TABLE_BEING_TRANSFORMED
public static final ExceptionMessage TABLE_ALREADY_TRANSFORMED
public static final ExceptionMessage TRANSFORM_JOB_DOES_NOT_EXIST
public static final ExceptionMessage TRANSFORM_JOB_ID_NOT_FOUND_IN_JOB_SERVICE
public static final ExceptionMessage MASTER_IN_SAFEMODE
public static final ExceptionMessage FAILED_UFS_RENAME
public static final ExceptionMessage INVALID_ARGS_NULL
public static final ExceptionMessage INVALID_ARGS_NUM
public static final ExceptionMessage INVALID_ARG_TYPE
public static final ExceptionMessage INVALID_OPTION
public static final ExceptionMessage INVALID_OPTION_COUNT
public static final ExceptionMessage INVALID_OPTION_VALUE
public static final ExceptionMessage INVALID_ADDRESS_VALUE
public static final ExceptionMessage INVALID_EXTENSION_NOT_JAR
public static final ExceptionMessage DESTINATION_CANNOT_BE_FILE
public static final ExceptionMessage INCOMPATIBLE_VERSION
public static final ExceptionMessage UNABLE_TO_DETERMINE_MASTER_HOSTNAME
public static final ExceptionMessage DEFAULT_PROPERTIES_FILE_DOES_NOT_EXIST
public static final ExceptionMessage INVALID_CONFIGURATION_KEY
public static final ExceptionMessage INVALID_CONFIGURATION_VALUE
public static final ExceptionMessage KEY_NOT_BOOLEAN
public static final ExceptionMessage KEY_NOT_BYTES
public static final ExceptionMessage KEY_NOT_DOUBLE
public static final ExceptionMessage KEY_NOT_FLOAT
public static final ExceptionMessage KEY_NOT_INTEGER
public static final ExceptionMessage KEY_NOT_LONG
public static final ExceptionMessage KEY_NOT_MS
public static final ExceptionMessage KEY_CIRCULAR_DEPENDENCY
public static final ExceptionMessage UNDEFINED_CONFIGURATION_KEY
public static final ExceptionMessage UNKNOWN_ENUM
public static final ExceptionMessage UNKNOWN_PROPERTY
public static final ExceptionMessage AUTHENTICATION_IS_NOT_ENABLED
public static final ExceptionMessage INVALID_MODE
public static final ExceptionMessage INVALID_MODE_SEGMENT
public static final ExceptionMessage PERMISSION_DENIED
public static final ExceptionMessage MOUNT_POINT_ALREADY_EXISTS
public static final ExceptionMessage MOUNT_POINT_PREFIX_OF_ANOTHER
public static final ExceptionMessage MOUNT_READONLY
public static final ExceptionMessage MIGRATE_CANNOT_BE_TO_SUBDIRECTORY
public static final ExceptionMessage TRANSFORM_TABLE_URI_LACKS_SCHEME
public static final ExceptionMessage TRANSFORM_TABLE_URI_LACKS_AUTHORITY
public static final ExceptionMessage NO_LOCAL_BLOCK_WORKER_LOAD_TASK
public static final ExceptionMessage JOB_DEFINITION_DOES_NOT_EXIST
public static final ExceptionMessage JOB_DOES_NOT_EXIST
public static final ExceptionMessage JOB_MASTER_FULL_CAPACITY
public static final ExceptionMessage FAILED_COMMIT_BLOCK_TO_MASTER
public static final ExceptionMessage UFS_OP_NOT_ALLOWED
public static ExceptionMessage[] values()
for (ExceptionMessage c : ExceptionMessage.values()) System.out.println(c);
public static ExceptionMessage valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getMessage(Object... params)
params
- the parameters for the exception messageCopyright © 2023. All Rights Reserved.