@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 a 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 INVALID_PREFIX
public static final ExceptionMessage NOT_SUPPORTED
public static final ExceptionMessage PATH_DOES_NOT_EXIST
public static final ExceptionMessage PATH_MUST_BE_FILE
public static final ExceptionMessage PATH_MUST_BE_DIRECTORY
public static final ExceptionMessage PATH_MUST_BE_MOUNT_POINT
public static final ExceptionMessage PATH_INVALID
public static final ExceptionMessage STATE_LOCK_TIMED_OUT
public static final ExceptionMessage BLOCK_UNAVAILABLE
public static final ExceptionMessage BLOCK_SIZE_INVALID
public static final ExceptionMessage CANNOT_REQUEST_SPACE
public static final ExceptionMessage NO_LOCAL_WORKER
public static final ExceptionMessage NO_SPACE_FOR_BLOCK_ON_WORKER
public static final ExceptionMessage NO_WORKER_AVAILABLE_ON_ADDRESS
public static final ExceptionMessage NO_WORKER_AVAILABLE
public static final ExceptionMessage FAILED_INITIAL_SYNC
public static final ExceptionMessage LOCK_ID_FOR_DIFFERENT_BLOCK
public static final ExceptionMessage LOCK_ID_FOR_DIFFERENT_SESSION
public static final ExceptionMessage LOCK_RECORD_NOT_FOUND_FOR_BLOCK_AND_SESSION
public static final ExceptionMessage LOCK_RECORD_NOT_FOUND_FOR_LOCK_ID
public static final ExceptionMessage LOCK_NOT_RELEASED
public static final ExceptionMessage SESSION_NOT_CLOSED
public static final ExceptionMessage BLOCK_META_NOT_FOUND
public static final ExceptionMessage GET_DIR_FROM_NON_SPECIFIC_LOCATION
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 FAILED_CREATE
public static final ExceptionMessage FAILED_SEEK
public static final ExceptionMessage FAILED_SKIP
public static final ExceptionMessage INSTREAM_CANNOT_SKIP
public static final ExceptionMessage READ_CLOSED_STREAM
public static final ExceptionMessage NO_MASTER_FOUND
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 BLOCK_NOT_FOUND_AT_LOCATION
public static final ExceptionMessage MOVE_UNCOMMITTED_BLOCK
public static final ExceptionMessage NO_BLOCK_ID_FOUND
public static final ExceptionMessage NO_EVICTION_PLAN_TO_FREE_SPACE
public static final ExceptionMessage NO_SPACE_FOR_BLOCK_ALLOCATION
public static final ExceptionMessage NO_SPACE_FOR_BLOCK_ALLOCATION_RETRIES_EXCEEDED
public static final ExceptionMessage NO_SPACE_FOR_BLOCK_REQUEST_SPACE_TIMEOUT
public static final ExceptionMessage NO_SPACE_FOR_BLOCK_REQUEST_SPACE_RETRIES_EXCEEDED
public static final ExceptionMessage NO_SPACE_FOR_BLOCK_MOVE
public static final ExceptionMessage NO_SPACE_FOR_BLOCK_MOVE_RETRIES_EXCEEDED
public static final ExceptionMessage REMOVE_UNCOMMITTED_BLOCK
public static final ExceptionMessage TEMP_BLOCK_ID_COMMITTED
public static final ExceptionMessage TEMP_BLOCK_ID_EXISTS
public static final ExceptionMessage UFS_BLOCK_ALREADY_EXISTS_FOR_SESSION
public static final ExceptionMessage UFS_BLOCK_ACCESS_TOKEN_UNAVAILABLE
public static final ExceptionMessage UFS_BLOCK_DOES_NOT_EXIST_FOR_SESSION
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 UNEXPECTED_JOURNAL_ENTRY
public static final ExceptionMessage FAILED_RAFT_BOOTSTRAP
public static final ExceptionMessage FAILED_RAFT_CONNECT
public static final ExceptionMessage CANNOT_READ_INCOMPLETE_FILE
public static final ExceptionMessage CANNOT_READ_DIRECTORY
public static final ExceptionMessage DELETE_FAILED_DIR_CHILDREN
public static final ExceptionMessage DELETE_FAILED_DIR_NONEMPTY
public static final ExceptionMessage DELETE_FAILED_UFS
public static final ExceptionMessage DELETE_FAILED_UFS_DIR
public static final ExceptionMessage DELETE_FAILED_UFS_FILE
public static final ExceptionMessage DELETE_FAILED_UFS_NOT_IN_SYNC
public static final ExceptionMessage DELETE_FAILED_DIRECTORY_NOT_IN_SYNC
public static final ExceptionMessage DELETE_NONEMPTY_DIRECTORY_NONRECURSIVE
public static final ExceptionMessage DELETE_ROOT_DIRECTORY
public static final ExceptionMessage FILE_ALREADY_EXISTS
public static final ExceptionMessage FILE_CREATE_IS_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 INODE_DOES_NOT_EXIST_RETRIES
public static final ExceptionMessage NOT_MUTABLE_INODE_PATH
public static final ExceptionMessage PATH_COMPONENTS_INVALID
public static final ExceptionMessage PATH_COMPONENTS_INVALID_START
public static final ExceptionMessage PATH_INVALID_CONCURRENT_RENAME
public static final ExceptionMessage PATH_INVALID_CONCURRENT_DELETE
public static final ExceptionMessage PATH_MUST_HAVE_VALID_PARENT
public static final ExceptionMessage RENAME_CANNOT_BE_ACROSS_MOUNTS
public static final ExceptionMessage RENAME_CANNOT_BE_ONTO_MOUNT_POINT
public static final ExceptionMessage RENAME_CANNOT_BE_TO_ROOT
public static final ExceptionMessage RENAME_CANNOT_BE_TO_SUBDIRECTORY
public static final ExceptionMessage ROOT_CANNOT_BE_RENAMED
public static final ExceptionMessage JOURNAL_ENTRY_MISSING
public static final ExceptionMessage JOURNAL_ENTRY_TRUNCATED_UNEXPECTEDLY
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 TRANSFORM_WRITE_ACTION_INVALID_NUM_FILES
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_MANAGER_HEARTBEAT_INTERRUPTED
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_CREATE
public static final ExceptionMessage FAILED_UFS_RENAME
public static final ExceptionMessage BAD_WORKER_FILE_ID
public static final ExceptionMessage INVALID_ARGS_GENERIC
public static final ExceptionMessage INVALID_ARGS_NULL
public static final ExceptionMessage INVALID_ARGS_NUM
public static final ExceptionMessage INVALID_ARGS_NUM_INSUFFICIENT
public static final ExceptionMessage INVALID_ARGS_NUM_TOO_MANY
public static final ExceptionMessage INVALID_ARGS_SORT_FIELD
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 INVALID_TIME
public static final ExceptionMessage DIFFERENT_CONNECTION_DETAILS
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 INVALID_METRIC_KEY
public static final ExceptionMessage ACL_BASE_REQUIRED
public static final ExceptionMessage AUTHENTICATION_IS_NOT_ENABLED
public static final ExceptionMessage AUTHORIZED_CLIENT_USER_IS_NULL
public static final ExceptionMessage INVALID_SET_ACL_OPTIONS
public static final ExceptionMessage INVALID_MODE
public static final ExceptionMessage INVALID_MODE_SEGMENT
public static final ExceptionMessage INVALID_MODE_PERMISSIONS
public static final ExceptionMessage INVALID_MODE_TARGETS
public static final ExceptionMessage PERMISSION_DENIED
public static final ExceptionMessage SECURITY_IS_NOT_ENABLED
public static final ExceptionMessage YARN_NOT_ENOUGH_HOSTS
public static final ExceptionMessage YARN_NOT_ENOUGH_RESOURCES
public static final ExceptionMessage MOUNT_POINT_ALREADY_EXISTS
public static final ExceptionMessage MOUNT_POINT_PREFIX_OF_ANOTHER
public static final ExceptionMessage MOUNT_PATH_SHADOWS_PARENT_UFS
public static final ExceptionMessage MOUNT_READONLY
public static final ExceptionMessage UFS_PATH_DOES_NOT_EXIST
public static final ExceptionMessage FOREIGN_URI_NOT_MOUNTED
public static final ExceptionMessage KEY_VALUE_TOO_LARGE
public static final ExceptionMessage KEY_ALREADY_EXISTS
public static final ExceptionMessage INVALID_KEY_VALUE_STORE_URI
public static final ExceptionMessage MIGRATE_CANNOT_BE_TO_SUBDIRECTORY
public static final ExceptionMessage MIGRATE_DIRECTORY_TO_FILE
public static final ExceptionMessage MIGRATE_FILE_TO_DIRECTORY
public static final ExceptionMessage MIGRATE_NEED_OVERWRITE
public static final ExceptionMessage MIGRATE_OVERWRITE_DIRECTORY
public static final ExceptionMessage MIGRATE_TO_FILE_AS_DIRECTORY
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_REPLICATE_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 PINNED_TO_MULTIPLE_MEDIUMTYPES
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.