类 PulsarClientException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.apache.pulsar.client.api.PulsarClientException
-
- 所有已实现的接口:
java.io.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
@Public @Stable public class PulsarClientException extends java.io.IOException
Base type of exception thrown by Pulsar client.- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classPulsarClientException.AlreadyClosedExceptionAlready closed exception thrown by Pulsar client.static classPulsarClientException.AuthenticationExceptionAuthentication exception thrown by Pulsar client.static classPulsarClientException.AuthorizationExceptionAuthorization exception thrown by Pulsar client.static classPulsarClientException.BrokerMetadataExceptionBroker metadata exception thrown by Pulsar client.static classPulsarClientException.BrokerPersistenceExceptionBroker persistence exception thrown by Pulsar client.static classPulsarClientException.ChecksumExceptionChecksum exception thrown by Pulsar client.static classPulsarClientException.ConnectExceptionConnect exception thrown by Pulsar client.static classPulsarClientException.ConsumerAssignExceptionConsumer assign exception thrown by Pulsar client.static classPulsarClientException.ConsumerBusyExceptionConsumer busy exception thrown by Pulsar client.static classPulsarClientException.CryptoExceptionCrypto exception thrown by Pulsar client.static classPulsarClientException.GettingAuthenticationDataExceptionGetting authentication data exception thrown by Pulsar client.static classPulsarClientException.IncompatibleSchemaExceptionIncompatible schema exception thrown by Pulsar client.static classPulsarClientException.InvalidConfigurationExceptionInvalid Configuration exception thrown by Pulsar client.static classPulsarClientException.InvalidMessageExceptionInvalid message exception thrown by Pulsar client.static classPulsarClientException.InvalidServiceURLInvalid Service URL exception thrown by Pulsar client.static classPulsarClientException.InvalidTopicNameExceptionInvalid topic name exception thrown by Pulsar client.static classPulsarClientException.LookupExceptionLookup exception thrown by Pulsar client.static classPulsarClientException.MemoryBufferIsFullErrorMemory buffer full error thrown by Pulsar client.static classPulsarClientException.MessageAcknowledgeExceptionConsumer assign exception thrown by Pulsar client.static classPulsarClientException.NotAllowedExceptionNot allowed exception thrown by Pulsar client.static classPulsarClientException.NotConnectedExceptionNot connected exception thrown by Pulsar client.static classPulsarClientException.NotFoundExceptionNot Found exception thrown by Pulsar client.static classPulsarClientException.NotSupportedExceptionNot supported exception thrown by Pulsar client.static classPulsarClientException.ProducerBlockedQuotaExceededErrorProducer blocked quota exceeded error thrown by Pulsar client.static classPulsarClientException.ProducerBlockedQuotaExceededExceptionProducer blocked quota exceeded exception thrown by Pulsar client.static classPulsarClientException.ProducerBusyExceptionProducer busy exception thrown by Pulsar client.static classPulsarClientException.ProducerFencedExceptionProducer fenced exception thrown by Pulsar client.static classPulsarClientException.ProducerQueueIsFullErrorFull producer queue error thrown by Pulsar client.static classPulsarClientException.TimeoutExceptionTimeout exception thrown by Pulsar client.static classPulsarClientException.TooManyRequestsExceptionToo many requests exception thrown by Pulsar client.static classPulsarClientException.TopicDoesNotExistExceptionTopic does not exist and cannot be created.static classPulsarClientException.TopicTerminatedExceptionTopic terminated exception thrown by Pulsar client.static classPulsarClientException.TransactionConflictExceptionConsumer assign exception thrown by Pulsar client.static classPulsarClientException.UnsupportedAuthenticationExceptionUnsupported authentication exception thrown by Pulsar client.
-
构造器概要
构造器 构造器 说明 PulsarClientException(java.lang.String msg)Constructs anPulsarClientExceptionwith the specified detail message.PulsarClientException(java.lang.String msg, long sequenceId)Constructs anPulsarClientExceptionwith the specified detail message.PulsarClientException(java.lang.String msg, java.lang.Throwable t)Constructs anPulsarClientExceptionwith the specified cause.PulsarClientException(java.lang.Throwable t)Constructs anPulsarClientExceptionwith the specified cause.PulsarClientException(java.lang.Throwable t, long sequenceId)Constructs anPulsarClientExceptionwith the specified cause.
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 longgetSequenceId()static booleanisRetriableError(java.lang.Throwable t)voidsetSequenceId(long sequenceId)static PulsarClientExceptionunwrap(java.lang.Throwable t)static java.lang.Throwablewrap(java.lang.Throwable t, java.lang.String msg)
-
-
-
构造器详细资料
-
PulsarClientException
public PulsarClientException(java.lang.String msg)
Constructs anPulsarClientExceptionwith the specified detail message.- 参数:
msg- The detail message (which is saved for later retrieval by theThrowable.getMessage()method)
-
PulsarClientException
public PulsarClientException(java.lang.String msg, long sequenceId)Constructs anPulsarClientExceptionwith 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
public PulsarClientException(java.lang.Throwable t)
Constructs anPulsarClientExceptionwith 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
public PulsarClientException(java.lang.String msg, java.lang.Throwable t)Constructs anPulsarClientExceptionwith 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
public PulsarClientException(java.lang.Throwable t, long sequenceId)Constructs anPulsarClientExceptionwith 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
-
-
方法详细资料
-
wrap
public static java.lang.Throwable wrap(java.lang.Throwable t, java.lang.String msg)
-
unwrap
public static PulsarClientException unwrap(java.lang.Throwable t)
-
getSequenceId
public long getSequenceId()
-
setSequenceId
public void setSequenceId(long sequenceId)
-
isRetriableError
public static boolean isRetriableError(java.lang.Throwable t)
-
-