Class BrokerServiceException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.pulsar.broker.service.BrokerServiceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BrokerServiceException.AddEntryMetadataException, BrokerServiceException.AlreadyRunningException, BrokerServiceException.ConsumerAssignException, BrokerServiceException.ConsumerBusyException, BrokerServiceException.NamingException, BrokerServiceException.NotAllowedException, BrokerServiceException.PersistenceException, BrokerServiceException.ProducerBusyException, BrokerServiceException.ProducerFencedException, BrokerServiceException.ServerMetadataException, BrokerServiceException.ServiceUnitNotReadyException, BrokerServiceException.SubscriptionBusyException, BrokerServiceException.SubscriptionFencedException, BrokerServiceException.SubscriptionInvalidCursorPosition, BrokerServiceException.SubscriptionNotFoundException, BrokerServiceException.TooManyRequestsException, BrokerServiceException.TopicBacklogQuotaExceededException, BrokerServiceException.TopicBusyException, BrokerServiceException.TopicClosedException, BrokerServiceException.TopicFencedException, BrokerServiceException.TopicNotFoundException, BrokerServiceException.TopicPoliciesCacheNotInitException, BrokerServiceException.TopicTerminatedException, BrokerServiceException.UnsupportedVersionException, SchemaException

public class BrokerServiceException extends Exception
Base type of exception thrown by Pulsar Broker Service.
See Also:
  • Constructor Details

    • BrokerServiceException

      public BrokerServiceException(String msg)
    • BrokerServiceException

      public BrokerServiceException(Throwable t)
    • BrokerServiceException

      public BrokerServiceException(String message, Throwable cause)
  • Method Details

    • getClientErrorCode

      public static org.apache.pulsar.common.api.proto.ServerError getClientErrorCode(Throwable t)