public class PulsarClientException extends IOException
Modifier and Type | Class and Description |
---|---|
static class |
PulsarClientException.AlreadyClosedException
Already closed exception thrown by Pulsar client.
|
static class |
PulsarClientException.AuthenticationException
Authentication exception thrown by Pulsar client.
|
static class |
PulsarClientException.AuthorizationException
Authorization exception thrown by Pulsar client.
|
static class |
PulsarClientException.BrokerMetadataException
Broker metadata exception thrown by Pulsar client.
|
static class |
PulsarClientException.BrokerPersistenceException
Broker persistence exception thrown by Pulsar client.
|
static class |
PulsarClientException.ChecksumException
Checksum exception thrown by Pulsar client.
|
static class |
PulsarClientException.ConnectException
Connect exception thrown by Pulsar client.
|
static class |
PulsarClientException.ConsumerAssignException
Consumer assign exception thrown by Pulsar client.
|
static class |
PulsarClientException.ConsumerBusyException
Consumer busy exception thrown by Pulsar client.
|
static class |
PulsarClientException.CryptoException
Crypto exception thrown by Pulsar client.
|
static class |
PulsarClientException.GettingAuthenticationDataException
Getting authentication data exception thrown by Pulsar client.
|
static class |
PulsarClientException.IncompatibleSchemaException
Incompatible schema exception thrown by Pulsar client.
|
static class |
PulsarClientException.InvalidConfigurationException
Invalid Configuration exception thrown by Pulsar client.
|
static class |
PulsarClientException.InvalidMessageException
Invalid message exception thrown by Pulsar client.
|
static class |
PulsarClientException.InvalidServiceURL
Invalid Service URL exception thrown by Pulsar client.
|
static class |
PulsarClientException.InvalidTopicNameException
Invalid topic name exception thrown by Pulsar client.
|
static class |
PulsarClientException.LookupException
Lookup exception thrown by Pulsar client.
|
static class |
PulsarClientException.NotAllowedException
Not allowed exception thrown by Pulsar client.
|
static class |
PulsarClientException.NotConnectedException
Not connected exception thrown by Pulsar client.
|
static class |
PulsarClientException.NotFoundException
Not Found exception thrown by Pulsar client.
|
static class |
PulsarClientException.NotSupportedException
Not supported exception thrown by Pulsar client.
|
static class |
PulsarClientException.ProducerBlockedQuotaExceededError
Producer blocked quota exceeded error thrown by Pulsar client.
|
static class |
PulsarClientException.ProducerBlockedQuotaExceededException
Producer blocked quota exceeded exception thrown by Pulsar client.
|
static class |
PulsarClientException.ProducerBusyException
Producer busy exception thrown by Pulsar client.
|
static class |
PulsarClientException.ProducerQueueIsFullError
Full producer queue error thrown by Pulsar client.
|
static class |
PulsarClientException.TimeoutException
Timeout exception thrown by Pulsar client.
|
static class |
PulsarClientException.TooManyRequestsException
Too many requests exception thrown by Pulsar client.
|
static class |
PulsarClientException.TopicDoesNotExistException
Topic does not exist and cannot be created.
|
static class |
PulsarClientException.TopicTerminatedException
Topic terminated exception thrown by Pulsar client.
|
static class |
PulsarClientException.UnsupportedAuthenticationException
Unsupported authentication exception thrown by Pulsar client.
|
Constructor and Description |
---|
PulsarClientException(String msg)
Constructs an
PulsarClientException with the specified detail message. |
PulsarClientException(String msg,
long sequenceId)
Constructs an
PulsarClientException with the specified detail message. |
PulsarClientException(String msg,
Throwable t)
Constructs an
PulsarClientException with the specified cause. |
PulsarClientException(Throwable t)
Constructs an
PulsarClientException with the specified cause. |
PulsarClientException(Throwable t,
long sequenceId)
Constructs an
PulsarClientException with the specified cause. |
Modifier and Type | Method and Description |
---|---|
long |
getSequenceId() |
static boolean |
isRetriableError(Throwable t) |
void |
setSequenceId(long sequenceId) |
static PulsarClientException |
unwrap(Throwable t) |
static Throwable |
wrap(Throwable t,
String msg) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PulsarClientException(String msg)
PulsarClientException
with the specified detail message.msg
- The detail message (which is saved for later retrieval
by the Throwable.getMessage()
method)public PulsarClientException(String msg, long sequenceId)
PulsarClientException
with the specified detail message.msg
- The detail message (which is saved for later retrieval
by the Throwable.getMessage()
method)sequenceId
- The sequenceId of the messagepublic PulsarClientException(Throwable t)
PulsarClientException
with the specified cause.t
- The cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value is permitted,
and indicates that the cause is nonexistent or unknown.)public PulsarClientException(String msg, Throwable t)
PulsarClientException
with the specified cause.msg
- The detail message (which is saved for later retrieval by the Throwable.getMessage()
method)t
- The cause (which is saved for later retrieval by the Throwable.getCause()
method). (A null value is
permitted, and indicates that the cause is nonexistent or unknown.)public PulsarClientException(Throwable t, long sequenceId)
PulsarClientException
with the specified cause.t
- The cause (which is saved for later retrieval by the Throwable.getCause()
method). (A null value is
permitted, and indicates that the cause is nonexistent or unknown.)sequenceId
- The sequenceId of the messagepublic static PulsarClientException unwrap(Throwable t)
public long getSequenceId()
public void setSequenceId(long sequenceId)
public static boolean isRetriableError(Throwable t)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.