Package org.apache.pulsar.client.api
Class PulsarClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.pulsar.client.api.PulsarClientException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
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.SubscriptionNotFoundException
,PulsarClientException.TimeoutException
,PulsarClientException.TopicDoesNotExistException
,PulsarClientException.TopicMigrationException
,PulsarClientException.TopicTerminatedException
,PulsarClientException.TransactionConflictException
,PulsarClientException.TransactionHasOperationFailedException
,PulsarClientException.UnsupportedAuthenticationException
Base type of exception thrown by Pulsar client.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Already closed exception thrown by Pulsar client.static class
Authentication exception thrown by Pulsar client.static class
Authorization exception thrown by Pulsar client.static class
Broker metadata exception thrown by Pulsar client.static class
Broker persistence exception thrown by Pulsar client.static class
Checksum exception thrown by Pulsar client.static class
Connect exception thrown by Pulsar client.static class
Consumer assign exception thrown by Pulsar client.static class
Consumer busy exception thrown by Pulsar client.static class
Crypto exception thrown by Pulsar client.static enum
"supports_auth_refresh" was introduced at "2.6" and is no longer supported, so skip this enum.static class
Not supported exception thrown by Pulsar client.static class
Getting authentication data exception thrown by Pulsar client.static class
Incompatible schema exception thrown by Pulsar client.static class
Invalid Configuration exception thrown by Pulsar client.static class
Invalid message exception thrown by Pulsar client.static class
Invalid Service URL exception thrown by Pulsar client.static class
Invalid topic name exception thrown by Pulsar client.static class
Lookup exception thrown by Pulsar client.static class
Memory buffer full error thrown by Pulsar client.static class
Consumer assign exception thrown by Pulsar client.static class
Not allowed exception thrown by Pulsar client.static class
Not connected exception thrown by Pulsar client.static class
Not Found exception thrown by Pulsar client.static class
Not supported exception thrown by Pulsar client.static class
Producer blocked quota exceeded error thrown by Pulsar client.static class
Producer blocked quota exceeded exception thrown by Pulsar client.static class
Producer busy exception thrown by Pulsar client.static class
Producer fenced exception thrown by Pulsar client.static class
Full producer queue error thrown by Pulsar client.static class
Not found subscription that cannot be created.static class
Timeout exception thrown by Pulsar client.static class
Too many requests exception thrown by Pulsar client.static class
Topic does not exist and cannot be created.static class
TopicMigration exception thrown by Pulsar client.static class
Topic terminated exception thrown by Pulsar client.static class
Consumer assign exception thrown by Pulsar client.static class
static class
Unsupported authentication exception thrown by Pulsar client. -
Constructor Summary
ConstructorDescriptionConstructs anPulsarClientException
with the specified detail message.PulsarClientException
(String msg, long sequenceId) Constructs anPulsarClientException
with the specified detail message.PulsarClientException
(String msg, Throwable t) Constructs anPulsarClientException
with the specified cause.Constructs anPulsarClientException
with the specified cause.PulsarClientException
(Throwable t, long sequenceId) Constructs anPulsarClientException
with the specified cause. -
Method Summary
Modifier and TypeMethodDescriptionlong
static boolean
static void
setPreviousExceptionCount
(Throwable e, AtomicInteger previousExceptionCount) void
setPreviousExceptionCount
(AtomicInteger previousExceptionCount) void
setSequenceId
(long sequenceId) toString()
static PulsarClientException
static Throwable
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
PulsarClientException
Constructs anPulsarClientException
with the specified detail message.- Parameters:
msg
- The detail message (which is saved for later retrieval by theThrowable.getMessage()
method)
-
PulsarClientException
Constructs anPulsarClientException
with the specified detail message.- Parameters:
msg
- The detail message (which is saved for later retrieval by theThrowable.getMessage()
method)sequenceId
- The sequenceId of the message
-
PulsarClientException
Constructs anPulsarClientException
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.)
-
PulsarClientException
Constructs anPulsarClientException
with the specified cause.- Parameters:
msg
- The detail message (which is saved for later retrieval by theThrowable.getMessage()
method)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.)
-
PulsarClientException
Constructs anPulsarClientException
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
-
-
Method Details