public class CloudWatchFacadeException extends FacadeException
CloudWatchFacade 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 |
CloudWatchFacadeException.ReasonCode |
| Constructor and Description |
|---|
CloudWatchFacadeException(CloudWatchFacadeException.ReasonCode reasonCode,
boolean isRetryable,
Throwable cause)
Convenience constructor for testing.
|
CloudWatchFacadeException(String message,
CloudWatchFacadeException.ReasonCode reasonCode,
boolean isRetryable,
String functionName,
Object... args)
Convenience constructor, for conditions where there is no underlying exception,
or where it's irrelevant.
|
CloudWatchFacadeException(String message,
Throwable cause,
CloudWatchFacadeException.ReasonCode reasonCode,
boolean isRetryable,
String functionName,
Object... args)
Base constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CloudWatchFacadeException.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 CloudWatchFacadeException(String message, Throwable cause, CloudWatchFacadeException.ReasonCode reasonCode, boolean isRetryable, String functionName, Object... args)
public CloudWatchFacadeException(String message, CloudWatchFacadeException.ReasonCode reasonCode, boolean isRetryable, String functionName, Object... args)
public CloudWatchFacadeException(CloudWatchFacadeException.ReasonCode reasonCode, boolean isRetryable, Throwable cause)
public CloudWatchFacadeException.ReasonCode getReason()
Copyright © 2023. All rights reserved.