public static enum SynchronyError.Code extends Enum<SynchronyError.Code>
| Enum Constant and Description |
|---|
CONFIGURATION_ERROR |
CONNECTION_FAILURE |
ERROR_CREATING_REQUEST |
INTERNAL_SERVER_ERROR |
INVALID_ANCESTOR |
JWT_DECRYPTION_FAILED |
OUT_OF_ORDER_REVISION |
UNKNOWN_ERROR |
| Modifier and Type | Method and Description |
|---|---|
static SynchronyError.Code |
from(String synchronyValue) |
String |
getSynchronyValue() |
static SynchronyError.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SynchronyError.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SynchronyError.Code INVALID_ANCESTOR
public static final SynchronyError.Code OUT_OF_ORDER_REVISION
public static final SynchronyError.Code INTERNAL_SERVER_ERROR
public static final SynchronyError.Code JWT_DECRYPTION_FAILED
public static final SynchronyError.Code ERROR_CREATING_REQUEST
public static final SynchronyError.Code CONFIGURATION_ERROR
public static final SynchronyError.Code CONNECTION_FAILURE
public static final SynchronyError.Code UNKNOWN_ERROR
public static SynchronyError.Code[] values()
for (SynchronyError.Code c : SynchronyError.Code.values()) System.out.println(c);
public static SynchronyError.Code 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 getSynchronyValue()
public static SynchronyError.Code from(String synchronyValue)
Copyright © 2003–2016 Atlassian. All rights reserved.