public class KinesisFacadeException extends FacadeException
KinesisFacade for any situation that
requires intervention by the caller. Each instance has a reason code, and
an indication of whether the condition is retryable. Where relevant, it may
wrap an underlying SDK-specific cause.| Modifier and Type | Class and Description |
|---|---|
static class |
KinesisFacadeException.ReasonCode |
| Constructor and Description |
|---|
KinesisFacadeException(KinesisFacadeException.ReasonCode reasonCode,
boolean isRetryable,
Throwable cause)
Convenience constructor, for conditions where there is no underlying exception,
or where it's irrelevant.
|
KinesisFacadeException(String message,
KinesisFacadeException.ReasonCode reasonCode,
boolean isRetryable,
String functionName,
Object... args)
Convenience constructor, for conditions where there is no underlying exception,
or where it's irrelevant.
|
KinesisFacadeException(String message,
Throwable cause,
KinesisFacadeException.ReasonCode reasonCode,
boolean isRetryable,
String functionName,
Object... args)
Base constructor.
|
| Modifier and Type | Method and Description |
|---|---|
KinesisFacadeException.ReasonCode |
getReason()
Returns a code that can be used by the application to dispatch exception handling.
|
getFunctionName, isRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic KinesisFacadeException(String message, Throwable cause, KinesisFacadeException.ReasonCode reasonCode, boolean isRetryable, String functionName, Object... args)
public KinesisFacadeException(String message, KinesisFacadeException.ReasonCode reasonCode, boolean isRetryable, String functionName, Object... args)
public KinesisFacadeException(KinesisFacadeException.ReasonCode reasonCode, boolean isRetryable, Throwable cause)
public KinesisFacadeException.ReasonCode getReason()
Copyright © 2023. All rights reserved.