类 PulsarClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.pulsar.client.api.PulsarClientException
- 所有已实现的接口:
Serializable
- 直接已知子类:
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.TopicDoesNotExistException
,PulsarClientException.TopicTerminatedException
,PulsarClientException.TransactionConflictException
,PulsarClientException.UnsupportedAuthenticationException
Base type of exception thrown by Pulsar client.
- 另请参阅:
-
嵌套类概要
嵌套类修饰符和类型类说明static 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 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
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
Topic terminated exception thrown by Pulsar client.static class
Consumer assign exception thrown by Pulsar client.static class
Unsupported authentication exception thrown by Pulsar client. -
构造器概要
构造器构造器说明Constructs 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. -
方法概要
修饰符和类型方法说明Get the collection of previous exceptions which have caused retries for this operation.static Collection<Throwable>
long
static boolean
static void
setPreviousExceptions
(Throwable t, Collection<Throwable> previous) void
setPreviousExceptions
(Collection<Throwable> previous) Add a list of previous exception which occurred for the same operation and have been retried.void
setSequenceId
(long sequenceId) toString()
static PulsarClientException
static Throwable
-
构造器详细资料
-
PulsarClientException
Constructs anPulsarClientException
with the specified detail message.- 参数:
msg
- The detail message (which is saved for later retrieval by theThrowable.getMessage()
method)
-
PulsarClientException
Constructs anPulsarClientException
with the specified detail message.- 参数:
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.- 参数:
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.- 参数:
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.- 参数:
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
-
-
方法详细资料
-
setPreviousExceptions
Add a list of previous exception which occurred for the same operation and have been retried.- 参数:
previous
- A collection of throwables that triggered retries
-
getPreviousExceptions
Get the collection of previous exceptions which have caused retries for this operation.- 返回:
- a collection of exception, ordered as they occurred
-
toString
-
wrap
-
unwrap
-
getPreviousExceptions
-
setPreviousExceptions
-
getSequenceId
public long getSequenceId() -
setSequenceId
public void setSequenceId(long sequenceId) -
isRetriableError
-