Package io.micronaut.gcp.pubsub.push
Class PubSubPushMessageReceiverException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.messaging.exceptions.MessagingException
io.micronaut.messaging.exceptions.MessageListenerException
io.micronaut.gcp.pubsub.exception.PubSubMessageReceiverException
io.micronaut.gcp.pubsub.push.PubSubPushMessageReceiverException
- All Implemented Interfaces:
Serializable
An exception thrown if there is an error during PubSub push message processing.
- Since:
- 5.4.0
- Author:
- Jeremy Grelle
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionCreates aPubSubPushMessageReceiverException
from a generalPubSubMessageReceiverException
to indicate the error occurred while processing a push message.Methods inherited from class io.micronaut.gcp.pubsub.exception.PubSubMessageReceiverException
getListener, getState, isAutoAcknowledge
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
from
Creates aPubSubPushMessageReceiverException
from a generalPubSubMessageReceiverException
to indicate the error occurred while processing a push message.- Parameters:
ex
- the original exception- Returns:
- a
PubSubPushMessageReceiverException
-