Enum SagaErrorCode
- java.lang.Object
-
- java.lang.Enum<SagaErrorCode>
-
- games.mythical.saga.sdk.exception.SagaErrorCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SagaErrorCode>
public enum SagaErrorCode extends java.lang.Enum<SagaErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SagaErrorCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SagaErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HOST_NOT_SET
public static final SagaErrorCode HOST_NOT_SET
-
PORT_NOT_SET
public static final SagaErrorCode PORT_NOT_SET
-
NOT_FOUND
public static final SagaErrorCode NOT_FOUND
-
LOCAL_EXCEPTION
public static final SagaErrorCode LOCAL_EXCEPTION
-
PARSING_DATA_EXCEPTION
public static final SagaErrorCode PARSING_DATA_EXCEPTION
-
UNKNOWN_GRPC_ERROR
public static final SagaErrorCode UNKNOWN_GRPC_ERROR
-
CONFLICT
public static final SagaErrorCode CONFLICT
-
PERMISSION_DENIED
public static final SagaErrorCode PERMISSION_DENIED
-
UNIMPLEMENTED
public static final SagaErrorCode UNIMPLEMENTED
-
UNAUTHENTICATED
public static final SagaErrorCode UNAUTHENTICATED
-
UNAVAILABLE
public static final SagaErrorCode UNAVAILABLE
-
INTERNAL
public static final SagaErrorCode INTERNAL
-
RESOURCE_EXHAUSTED
public static final SagaErrorCode RESOURCE_EXHAUSTED
-
ABORTED
public static final SagaErrorCode ABORTED
-
INVALID_ARGUMENT
public static final SagaErrorCode INVALID_ARGUMENT
-
BAD_REQUEST
public static final SagaErrorCode BAD_REQUEST
-
SERVER_ERROR
public static final SagaErrorCode SERVER_ERROR
-
NOT_AUTHORIZED
public static final SagaErrorCode NOT_AUTHORIZED
-
FORBIDDEN
public static final SagaErrorCode FORBIDDEN
-
TIMEOUT
public static final SagaErrorCode TIMEOUT
-
SERVICE_UNAVAILABLE
public static final SagaErrorCode SERVICE_UNAVAILABLE
-
UNPROCESSABLE_ENTITY
public static final SagaErrorCode UNPROCESSABLE_ENTITY
-
UNRECOGNIZED
public static final SagaErrorCode UNRECOGNIZED
-
CREDENTIALS_NOT_INITIALIZED
public static final SagaErrorCode CREDENTIALS_NOT_INITIALIZED
-
FACTORY_NOT_INITIALIZED
public static final SagaErrorCode FACTORY_NOT_INITIALIZED
-
REINITIALIZATION_ATTEMPTED
public static final SagaErrorCode REINITIALIZATION_ATTEMPTED
-
TITLE_ID_NOT_SET
public static final SagaErrorCode TITLE_ID_NOT_SET
-
TITLE_SECRET_NOT_SET
public static final SagaErrorCode TITLE_SECRET_NOT_SET
-
AUTH_URL_NOT_SET
public static final SagaErrorCode AUTH_URL_NOT_SET
-
INVALID_PORT
public static final SagaErrorCode INVALID_PORT
-
INVALID_KEEP_ALIVE
public static final SagaErrorCode INVALID_KEEP_ALIVE
-
INVALID_TOKEN_REFRESH
public static final SagaErrorCode INVALID_TOKEN_REFRESH
-
NON_LOCAL_PLAIN_TEXT
public static final SagaErrorCode NON_LOCAL_PLAIN_TEXT
-
EXECUTOR_REQUIRED
public static final SagaErrorCode EXECUTOR_REQUIRED
-
NOT_IMPLEMENTED
public static final SagaErrorCode NOT_IMPLEMENTED
-
UNABLE_TO_CREATE_QUOTE
public static final SagaErrorCode UNABLE_TO_CREATE_QUOTE
-
-
Method Detail
-
values
public static SagaErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SagaErrorCode c : SagaErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SagaErrorCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-