Class PubSubDeliveryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
com.google.cloud.spring.pubsub.core.PubSubException
com.google.cloud.spring.pubsub.core.PubSubDeliveryException
- All Implemented Interfaces:
Serializable
The Spring Google Cloud Pub/Sub specific
PubSubException
. Handles failures while
publishing events to Pub/Sub.- Since:
- 1.2
- See Also:
-
Constructor Summary
ConstructorDescriptionPubSubDeliveryException
(com.google.pubsub.v1.PubsubMessage pubsubMessage, String description, Throwable cause) -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PubSubDeliveryException
-
-
Method Details
-
getFailedMessage
public com.google.pubsub.v1.PubsubMessage getFailedMessage()
-