Enum Class MiddlewareErrorCode
- All Implemented Interfaces:
Serializable, Comparable<MiddlewareErrorCode>, Constable
Stable error codes returned by the middleware public API.
The enum is immutable and thread-safe. Codes are transport-neutral and are used to wrap registry, codec, reflection, RMI, gRPC, and runtime failures before they cross a public API boundary.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOperation was cancelled before completion.Codec failed to encode or decode a value.Operation exceeded its caller-supplied or default deadline.Duplicate operation rejected by reliability semantics.Durable log I/O, sync, or format operation failed.Requested Java interface is not exposed or has an incompatible signature.Unexpected middleware implementation failure.Caller supplied invalid arguments or incompatible options.Reference or registry record lease has expired.Durable log detected record or segment corruption.Requested method is not exposed by the target object.Requested object, service, method, or registry record was not found.Runtime refused work because a configured limit was exceeded.Caller is authenticated but lacks permission.Durable log recovery failed.Registry could not satisfy the operation.Remote application method threw an exception.Fencing token is stale.Transport failed before or during invocation.Caller is not authenticated.Target or subsystem is temporarily unavailable. -
Method Summary
Modifier and TypeMethodDescriptionstatic MiddlewareErrorCodeReturns the enum constant of this class with the specified name.static MiddlewareErrorCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_FOUND
Requested object, service, method, or registry record was not found. -
UNAVAILABLE
Target or subsystem is temporarily unavailable. -
DEADLINE_EXCEEDED
Operation exceeded its caller-supplied or default deadline. -
CANCELLED
Operation was cancelled before completion. -
OVERLOADED
Runtime refused work because a configured limit was exceeded. -
PERMISSION_DENIED
Caller is authenticated but lacks permission. -
UNAUTHENTICATED
Caller is not authenticated. -
INVALID_ARGUMENT
Caller supplied invalid arguments or incompatible options. -
METHOD_NOT_FOUND
Requested method is not exposed by the target object. -
INTERFACE_MISMATCH
Requested Java interface is not exposed or has an incompatible signature. -
CODEC_ERROR
Codec failed to encode or decode a value. -
REMOTE_EXCEPTION
Remote application method threw an exception. -
LEASE_EXPIRED
Reference or registry record lease has expired. -
DUPLICATE_OPERATION
Duplicate operation rejected by reliability semantics. -
STALE_FENCING_TOKEN
Fencing token is stale. -
REGISTRY_UNAVAILABLE
Registry could not satisfy the operation. -
TRANSPORT_ERROR
Transport failed before or during invocation. -
LOG_CORRUPTION
Durable log detected record or segment corruption. -
DURABLE_LOG_ERROR
Durable log I/O, sync, or format operation failed. -
RECOVERY_FAILED
Durable log recovery failed. -
INTERNAL
Unexpected middleware implementation failure.
-
-
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
-