Enum Constant and Description |
---|
ERROR_ACCESS_CONTROL
Deprecated.
|
ERROR_DB_INIT
Deprecated.
|
ERROR_DUPLICATE_PARTITION
Deprecated.
|
ERROR_EXCEED_MAXPART
Deprecated.
|
ERROR_INIT_LOADER
Deprecated.
|
ERROR_INIT_STORAGE_HANDLER
Deprecated.
|
ERROR_INIT_STORER
Deprecated.
|
ERROR_INTERNAL_EXCEPTION
Deprecated.
|
ERROR_INVALID_PARTITION_VALUES
Deprecated.
|
ERROR_INVALID_TABLE
Deprecated.
|
ERROR_MISSING_PARTITION_KEY
Deprecated.
|
ERROR_MOVE_FAILED
Deprecated.
|
ERROR_NON_EMPTY_TABLE
Deprecated.
|
ERROR_NOT_INITIALIZED
Deprecated.
|
ERROR_NOT_SUPPORTED
Deprecated.
|
ERROR_PUBLISHING_PARTITION
Deprecated.
|
ERROR_SCHEMA_COLUMN_MISMATCH
Deprecated.
|
ERROR_SCHEMA_PARTITION_KEY
Deprecated.
|
ERROR_SCHEMA_TYPE_MISMATCH
Deprecated.
|
ERROR_SET_INPUT
Deprecated.
|
ERROR_SET_OUTPUT
Deprecated.
|
ERROR_TOO_MANY_DYNAMIC_PTNS
Deprecated.
|
ERROR_UNIMPLEMENTED
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
appendCauseMessage()
Deprecated.
Whether the cause of the exception should be added to the error message.
|
int |
getErrorCode()
Deprecated.
Gets the error code.
|
java.lang.String |
getErrorMessage()
Deprecated.
Gets the error message.
|
boolean |
isRetriable()
Deprecated.
Checks if this is a retriable error.
|
static ErrorType |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static ErrorType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorType ERROR_DB_INIT
public static final ErrorType ERROR_EXCEED_MAXPART
public static final ErrorType ERROR_SET_INPUT
public static final ErrorType ERROR_INVALID_TABLE
public static final ErrorType ERROR_SET_OUTPUT
public static final ErrorType ERROR_DUPLICATE_PARTITION
public static final ErrorType ERROR_NON_EMPTY_TABLE
public static final ErrorType ERROR_NOT_INITIALIZED
public static final ErrorType ERROR_INIT_STORAGE_HANDLER
public static final ErrorType ERROR_PUBLISHING_PARTITION
public static final ErrorType ERROR_SCHEMA_COLUMN_MISMATCH
public static final ErrorType ERROR_SCHEMA_PARTITION_KEY
public static final ErrorType ERROR_SCHEMA_TYPE_MISMATCH
public static final ErrorType ERROR_INVALID_PARTITION_VALUES
public static final ErrorType ERROR_MISSING_PARTITION_KEY
public static final ErrorType ERROR_MOVE_FAILED
public static final ErrorType ERROR_TOO_MANY_DYNAMIC_PTNS
public static final ErrorType ERROR_INIT_LOADER
public static final ErrorType ERROR_INIT_STORER
public static final ErrorType ERROR_NOT_SUPPORTED
public static final ErrorType ERROR_ACCESS_CONTROL
public static final ErrorType ERROR_UNIMPLEMENTED
public static final ErrorType ERROR_INTERNAL_EXCEPTION
public static ErrorType[] values()
for (ErrorType c : ErrorType.values()) System.out.println(c);
public static ErrorType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getErrorCode()
public java.lang.String getErrorMessage()
public boolean isRetriable()
public boolean appendCauseMessage()
Copyright © 2012 The Apache Software Foundation