Enum Class ErrorSubStatus
- All Implemented Interfaces:
Serializable, Comparable<ErrorSubStatus>, Constable
Identifies a Dex-specific category within a transport error.
Inspect this value from DexServiceException.getSubStatus() when application recovery
depends on more detail than the gRPC status code provides. Prefer concrete exception subclasses
for control flow; use the substatus for diagnostics and uncategorized service failures.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that a pending Channel message ID no longer exists.Indicates that the requested Flow ID is already in use.Indicates that Dex rejected an update-class request during Flow close cleanup.Indicates that the requested Flow execution does not exist.Indicates that a long-poll operation reached its wait timeout.Indicates that a caller-visible request budget expired.Indicates an error without a more specific Dex category.Indicates that a worker invocation failed. -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorSubStatusReturns the enum constant of this class with the specified name.static ErrorSubStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNCATEGORIZED
Indicates an error without a more specific Dex category. -
FLOW_ALREADY_STARTED
Indicates that the requested Flow ID is already in use. -
FLOW_NOT_EXISTS
Indicates that the requested Flow execution does not exist. -
WORKER_API_ERROR
Indicates that a worker invocation failed. -
LONG_POLL_TIMEOUT
Indicates that a long-poll operation reached its wait timeout. -
CHANNEL_MESSAGE_NOT_FOUND
Indicates that a pending Channel message ID no longer exists. -
REQUEST_TIMEOUT
Indicates that a caller-visible request budget expired. -
FLOW_CLOSING
Indicates that Dex rejected an update-class request during Flow close cleanup.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-