Class SnsRequestFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.messaging.MessagingException
io.awspring.cloud.sns.integration.SnsRequestFailureException
- All Implemented Interfaces:
Serializable
An exception that is the payload of an
ErrorMessage when an SNS publish fails.- Since:
- 4.0
- Author:
- Jacob Severson, Artem Bilan
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSnsRequestFailureException(Message<?> message, software.amazon.awssdk.services.sns.model.PublishRequest request, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.services.sns.model.PublishRequesttoString()Methods inherited from class org.springframework.messaging.MessagingException
getFailedMessageMethods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
SnsRequestFailureException
-
-
Method Details
-
getRequest
public software.amazon.awssdk.services.sns.model.PublishRequest getRequest() -
toString
- Overrides:
toStringin classMessagingException
-