public enum StatusCode extends Enum<StatusCode>
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
boolean |
includeStackTrace() |
static StatusCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusCode NETWORK_ERROR
public static final StatusCode INVALID_REQUEST
public static final StatusCode INVALID_REQUEST_FORMAT
public static final StatusCode INVALID_TRANSACTION_ID
public static final StatusCode INVALID_CONCURRENT_TRANSACTION_ACCESS
public static final StatusCode STATEMENT_EXECUTION_ERROR
public static final StatusCode STATEMENT_SYNTAX_ERROR
public static final StatusCode STATEMENT_MISSING_PARAMETER
public static final StatusCode COULD_NOT_CREATE_INDEX
public static final StatusCode COULD_NOT_DROP_INDEX
public static final StatusCode COULD_NOT_CREATE_CONSTRAINT
public static final StatusCode COULD_NOT_DROP_CONSTRAINT
public static final StatusCode INTERNAL_DATABASE_ERROR
public static final StatusCode INTERNAL_STATEMENT_EXECUTION_ERROR
public static final StatusCode INTERNAL_BEGIN_TRANSACTION_ERROR
public static final StatusCode INTERNAL_ROLLBACK_TRANSACTION_ERROR
public static final StatusCode INTERNAL_COMMIT_TRANSACTION_ERROR
public static StatusCode[] values()
for (StatusCode c : StatusCode.values()) System.out.println(c);
public static StatusCode 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 int getCode()
public boolean includeStackTrace()
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.