Package org.apache.pulsar.client.api
Class PulsarClientException.TimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.pulsar.client.api.PulsarClientException
org.apache.pulsar.client.api.PulsarClientException.TimeoutException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- PulsarClientException
Timeout exception thrown by Pulsar client.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pulsar.client.api.PulsarClientException
PulsarClientException.AlreadyClosedException, PulsarClientException.AuthenticationException, PulsarClientException.AuthorizationException, PulsarClientException.BrokerMetadataException, PulsarClientException.BrokerPersistenceException, PulsarClientException.ChecksumException, PulsarClientException.ConnectException, PulsarClientException.ConsumerAssignException, PulsarClientException.ConsumerBusyException, PulsarClientException.CryptoException, PulsarClientException.FailedFeatureCheck, PulsarClientException.FeatureNotSupportedException, PulsarClientException.GettingAuthenticationDataException, PulsarClientException.IncompatibleSchemaException, PulsarClientException.InvalidConfigurationException, PulsarClientException.InvalidMessageException, PulsarClientException.InvalidServiceURL, PulsarClientException.InvalidTopicNameException, PulsarClientException.LookupException, PulsarClientException.MemoryBufferIsFullError, PulsarClientException.MessageAcknowledgeException, PulsarClientException.NotAllowedException, PulsarClientException.NotConnectedException, PulsarClientException.NotFoundException, PulsarClientException.NotSupportedException, PulsarClientException.ProducerBlockedQuotaExceededError, PulsarClientException.ProducerBlockedQuotaExceededException, PulsarClientException.ProducerBusyException, PulsarClientException.ProducerFencedException, PulsarClientException.ProducerQueueIsFullError, PulsarClientException.ServiceNotReadyException, PulsarClientException.SubscriptionNotFoundException, PulsarClientException.TimeoutException, PulsarClientException.TooManyRequestsException, PulsarClientException.TopicDoesNotExistException, PulsarClientException.TopicMigrationException, PulsarClientException.TopicTerminatedException, PulsarClientException.TransactionConflictException, PulsarClientException.TransactionHasOperationFailedException, PulsarClientException.UnsupportedAuthenticationException -
Constructor Summary
ConstructorsConstructorDescriptionTimeoutException(String msg) Constructs anTimeoutExceptionwith the specified detail message.TimeoutException(String msg, long sequenceId) Constructs anTimeoutExceptionwith the specified detail message.Constructs anTimeoutExceptionwith the specified cause.TimeoutException(Throwable t, long sequenceId) Constructs anTimeoutExceptionwith the specified cause. -
Method Summary
Methods inherited from class org.apache.pulsar.client.api.PulsarClientException
getPreviousExceptions, getPreviousExceptions, getSequenceId, isRetriableError, setPreviousExceptions, setPreviousExceptions, setSequenceId, toString, unwrap, wrapMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
TimeoutException
Constructs anTimeoutExceptionwith the specified cause.- Parameters:
t- The cause (which is saved for later retrieval by theThrowable.getCause()method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
TimeoutException
Constructs anTimeoutExceptionwith the specified cause.- Parameters:
t- The cause (which is saved for later retrieval by theThrowable.getCause()method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)sequenceId- The sequenceId of the message
-
TimeoutException
Constructs anTimeoutExceptionwith the specified detail message.- Parameters:
msg- The detail message (which is saved for later retrieval by theThrowable.getMessage()method)
-
TimeoutException
Constructs anTimeoutExceptionwith the specified detail message.- Parameters:
msg- The detail message (which is saved for later retrieval by theThrowable.getMessage()method)
-