public enum StandardErrorCode extends Enum<StandardErrorCode> implements ErrorCodeSupplier
| Modifier and Type | Class and Description |
|---|---|
static class |
StandardErrorCode.ErrorType |
| Modifier and Type | Method and Description |
|---|---|
ErrorCode |
toErrorCode() |
static StandardErrorCode.ErrorType |
toErrorType(int code) |
static StandardErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardErrorCode USER_ERROR
public static final StandardErrorCode SYNTAX_ERROR
public static final StandardErrorCode ABANDONED_QUERY
public static final StandardErrorCode USER_CANCELED
public static final StandardErrorCode PERMISSION_DENIED
public static final StandardErrorCode NOT_FOUND
public static final StandardErrorCode FUNCTION_NOT_FOUND
public static final StandardErrorCode INVALID_FUNCTION_ARGUMENT
public static final StandardErrorCode DIVISION_BY_ZERO
public static final StandardErrorCode INVALID_CAST_ARGUMENT
public static final StandardErrorCode OPERATOR_NOT_FOUND
public static final StandardErrorCode INVALID_VIEW
public static final StandardErrorCode ALREADY_EXISTS
public static final StandardErrorCode NOT_SUPPORTED
public static final StandardErrorCode INVALID_SESSION_PROPERTY
public static final StandardErrorCode INVALID_WINDOW_FRAME
public static final StandardErrorCode INTERNAL_ERROR
public static final StandardErrorCode TOO_MANY_REQUESTS_FAILED
public static final StandardErrorCode PAGE_TOO_LARGE
public static final StandardErrorCode PAGE_TRANSPORT_ERROR
public static final StandardErrorCode PAGE_TRANSPORT_TIMEOUT
public static final StandardErrorCode NO_NODES_AVAILABLE
public static final StandardErrorCode REMOTE_TASK_ERROR
public static final StandardErrorCode COMPILER_ERROR
public static final StandardErrorCode INSUFFICIENT_RESOURCES
public static final StandardErrorCode EXCEEDED_MEMORY_LIMIT
public static final StandardErrorCode QUERY_QUEUE_FULL
public static final StandardErrorCode EXTERNAL
public static StandardErrorCode[] values()
for (StandardErrorCode c : StandardErrorCode.values()) System.out.println(c);
public static StandardErrorCode 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 ErrorCode toErrorCode()
toErrorCode in interface ErrorCodeSupplierpublic static StandardErrorCode.ErrorType toErrorType(int code)
Copyright © 2012-2014. All Rights Reserved.