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:
java.io.Serializable
- Enclosing class:
- PulsarClientException
public static class PulsarClientException.TimeoutException extends PulsarClientException
Timeout exception thrown by Pulsar client.- See Also:
- Serialized Form
-
-
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.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.TimeoutException, PulsarClientException.TooManyRequestsException, PulsarClientException.TopicDoesNotExistException, PulsarClientException.TopicTerminatedException, PulsarClientException.TransactionConflictException, PulsarClientException.UnsupportedAuthenticationException
-
-
Constructor Summary
Constructors Constructor Description TimeoutException(java.lang.String msg)
Constructs anTimeoutException
with the specified detail message.TimeoutException(java.lang.String msg, long sequenceId)
Constructs anTimeoutException
with the specified detail message.TimeoutException(java.lang.Throwable t)
Constructs anTimeoutException
with the specified cause.TimeoutException(java.lang.Throwable t, long sequenceId)
Constructs anTimeoutException
with the specified cause.
-
Method Summary
-
Methods inherited from class org.apache.pulsar.client.api.PulsarClientException
getSequenceId, isRetriableError, setSequenceId, unwrap, wrap
-
-
-
-
Constructor Detail
-
TimeoutException
public TimeoutException(java.lang.Throwable t)
Constructs anTimeoutException
with 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
public TimeoutException(java.lang.Throwable t, long sequenceId)
Constructs anTimeoutException
with 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
public TimeoutException(java.lang.String msg)
Constructs anTimeoutException
with the specified detail message.- Parameters:
msg
- The detail message (which is saved for later retrieval by theThrowable.getMessage()
method)
-
TimeoutException
public TimeoutException(java.lang.String msg, long sequenceId)
Constructs anTimeoutException
with the specified detail message.- Parameters:
msg
- The detail message (which is saved for later retrieval by theThrowable.getMessage()
method)
-
-