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