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

public class PubSubDeliveryException extends PubSubException
The Spring Google Cloud Pub/Sub specific PubSubException. Handles failures while publishing events to Pub/Sub.
Since:
1.2
See Also:
  • Constructor Details

    • PubSubDeliveryException

      public PubSubDeliveryException(com.google.pubsub.v1.PubsubMessage pubsubMessage, String description, Throwable cause)
  • Method Details

    • getFailedMessage

      public com.google.pubsub.v1.PubsubMessage getFailedMessage()