@ProviderType public static class PubSubPlusClientException.IncompleteMessageDeliveryException extends PubSubPlusClientException
PubSubPlusClientException.AuthenticationException, PubSubPlusClientException.AuthorizationException, PubSubPlusClientException.IncompatibleMessageException, PubSubPlusClientException.IncompleteMessageDeliveryException, PubSubPlusClientException.InvalidConfigurationException, PubSubPlusClientException.MessageDestinationDoesNotExistException, PubSubPlusClientException.MessageNotAcknowledgedByBrokerException, PubSubPlusClientException.MessageRejectedByBrokerException, PubSubPlusClientException.MessageReplayException, PubSubPlusClientException.MessageTooBigException, PubSubPlusClientException.MissingResourceException, PubSubPlusClientException.PublisherOverflowException, PubSubPlusClientException.PubSubPlusClientIOException, PubSubPlusClientException.RequestInterruptedException, PubSubPlusClientException.ResourceProvisioningException, PubSubPlusClientException.ServiceCapabilityException, PubSubPlusClientException.ServiceDownException, PubSubPlusClientException.ServiceUnreachableException, PubSubPlusClientException.TimeoutException, PubSubPlusClientException.UnsupportedAuthorizationException
Constructor and Description |
---|
IncompleteMessageDeliveryException(String message,
int messageCount)
Creates an instance of
IncompleteMessageDeliveryException with a detailed message
when a publisher or receiver were terminated, but there are some messages left in the
buffer. |
IncompleteMessageDeliveryException(String message,
Throwable t,
int messageCount)
* Creates an instance of
IncompleteMessageDeliveryException with a detailed message
when a publisher or receiver were terminated, but there are some messages left in the
buffer. |
Modifier and Type | Method and Description |
---|---|
int |
getMessageCount()
Gets a number of affected by messages
|
of
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IncompleteMessageDeliveryException(String message, int messageCount)
IncompleteMessageDeliveryException
with a detailed message
when a publisher or receiver were terminated, but there are some messages left in the
buffer.message
- the detailed message. The detailed message is saved for later retrieval
by the Throwable.getMessage()
method.messageCount
- number affected messagespublic IncompleteMessageDeliveryException(String message, Throwable t, int messageCount)
IncompleteMessageDeliveryException
with a detailed message
when a publisher or receiver were terminated, but there are some messages left in the
buffer.message
- the detailed message. The detailed message is saved for later retrieval
by the Throwable.getMessage()
method.t
- the cause that is saved for later retrieval by the Throwable.getCause()
method. A null
value is permitted, and indicates that the cause
is non-existent or unknown.messageCount
- number affected messagesCopyright 2019-2024 Solace Corporation. All rights reserved.