public static enum KinesisFacadeException.ReasonCode extends Enum<KinesisFacadeException.ReasonCode>
| Enum Constant and Description |
|---|
INVALID_CONFIGURATION
An invalid configuration value (these shouldn't happen if you validate
your configuration!).
|
INVALID_STATE
The current operation could not be performed, but may be retried.
|
LIMIT_EXCEEDED
The requested operation exceeded some limit.
|
MISSING_STREAM
The requested stream does not exist.
|
THROTTLING
The API call was throttled; caller should retry.
|
UNEXPECTED_EXCEPTION
An exception that isn't expected to be corrected by the caller (just
throw it on up).
|
| Modifier and Type | Method and Description |
|---|---|
static KinesisFacadeException.ReasonCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KinesisFacadeException.ReasonCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KinesisFacadeException.ReasonCode UNEXPECTED_EXCEPTION
public static final KinesisFacadeException.ReasonCode INVALID_CONFIGURATION
public static final KinesisFacadeException.ReasonCode MISSING_STREAM
public static final KinesisFacadeException.ReasonCode INVALID_STATE
public static final KinesisFacadeException.ReasonCode LIMIT_EXCEEDED
public static final KinesisFacadeException.ReasonCode THROTTLING
public static KinesisFacadeException.ReasonCode[] values()
for (KinesisFacadeException.ReasonCode c : KinesisFacadeException.ReasonCode.values()) System.out.println(c);
public static KinesisFacadeException.ReasonCode 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 nullCopyright © 2023. All rights reserved.