public abstract class PubSubException extends Exception
Modifier and Type | Class and Description |
---|---|
static class |
PubSubException.ClientAlreadySubscribedException |
static class |
PubSubException.ClientNotSubscribedException |
static class |
PubSubException.ClientNotSubscribedRuntimeException |
static class |
PubSubException.CompositeException |
static class |
PubSubException.CouldNotConnectException |
static class |
PubSubException.MalformedRequestException |
static class |
PubSubException.NoSuchTopicException |
static class |
PubSubException.ServerNotResponsibleForTopicException |
static class |
PubSubException.ServiceDownException |
static class |
PubSubException.TopicBusyException |
static class |
PubSubException.UncertainStateException |
static class |
PubSubException.UnexpectedConditionException |
Modifier and Type | Field and Description |
---|---|
protected PubSubProtocol.StatusCode |
code |
Modifier | Constructor and Description |
---|---|
protected |
PubSubException(PubSubProtocol.StatusCode code,
Exception e) |
protected |
PubSubException(PubSubProtocol.StatusCode code,
String msg) |
Modifier and Type | Method and Description |
---|---|
static PubSubException |
create(PubSubProtocol.StatusCode code,
String msg) |
PubSubProtocol.StatusCode |
getCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected PubSubProtocol.StatusCode code
protected PubSubException(PubSubProtocol.StatusCode code, String msg)
protected PubSubException(PubSubProtocol.StatusCode code, Exception e)
public static PubSubException create(PubSubProtocol.StatusCode code, String msg)
public PubSubProtocol.StatusCode getCode()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.