public enum S2SErrorReason extends Enum<S2SErrorReason>
Enum Constant and Description |
---|
BAD_REQUEST |
INVALID_RESPONSE |
NO_ERROR |
REQUEST_FAILED_ON_SERVER |
SERVER_ERROR |
UNABLE_TO_SEND_REQUEST |
UNKNOWN_ERROR |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static S2SErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static S2SErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final S2SErrorReason NO_ERROR
public static final S2SErrorReason UNABLE_TO_SEND_REQUEST
public static final S2SErrorReason BAD_REQUEST
public static final S2SErrorReason SERVER_ERROR
public static final S2SErrorReason INVALID_RESPONSE
public static final S2SErrorReason REQUEST_FAILED_ON_SERVER
public static final S2SErrorReason UNKNOWN_ERROR
public static S2SErrorReason[] values()
for (S2SErrorReason c : S2SErrorReason.values()) System.out.println(c);
public static S2SErrorReason 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 getValue()
Copyright © 2021 PerimeterX. All rights reserved.