类 PulsarAdminException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.pulsar.client.admin.PulsarAdminException
- 所有已实现的接口:
Serializable
- 直接已知子类:
PulsarAdminException.ConflictException,PulsarAdminException.ConnectException,PulsarAdminException.GettingAuthenticationDataException,PulsarAdminException.HttpErrorException,PulsarAdminException.NotAllowedException,PulsarAdminException.NotAuthorizedException,PulsarAdminException.NotFoundException,PulsarAdminException.PreconditionFailedException,PulsarAdminException.ServerSideErrorException,PulsarAdminException.TimeoutException
Pulsar admin exceptions.
- 另请参阅:
-
嵌套类概要
嵌套类修饰符和类型类说明static classConflict Exception.static classConnect Exception.static classGetting Authentication Data Exception.static classHttp Error Exception.static classNot Allowed Exception.static classNot Authorized Exception.static classNot Found Exception.static classPrecondition Failed Exception.static classServer Side Error Exception.static classTimeout Exception. -
构造器概要
构造器构造器说明PulsarAdminException(String message) PulsarAdminException(String message, Throwable t) PulsarAdminException(String message, Throwable t, String httpError, int statusCode) PulsarAdminException(Throwable t, String httpError, int statusCode) -
方法概要
修饰符和类型方法说明protected PulsarAdminExceptionclone()This method is meant to be overriden by all subclasses.intstatic PulsarAdminExceptionClone the exception and grab the current stacktrace.
-
构造器详细资料
-
PulsarAdminException
-
PulsarAdminException
-
PulsarAdminException
-
PulsarAdminException
-
PulsarAdminException
-
-
方法详细资料
-
getHttpError
-
getStatusCode
public int getStatusCode() -
clone
This method is meant to be overriden by all subclasses. We cannot make it 'abstract' because it would be a breaking change in the public API. -
wrap
Clone the exception and grab the current stacktrace.- 参数:
e- a PulsarAdminException- 返回:
- a new PulsarAdminException, of the same class.
-