public abstract class PubSubException extends Exception
| Modifier and Type | Field and Description |
|---|---|
protected PubSubProtocol.StatusCode |
code |
| Modifier | Constructor and Description |
|---|---|
protected |
PubSubException(PubSubProtocol.StatusCode code,
String msg) |
protected |
PubSubException(PubSubProtocol.StatusCode code,
String msg,
Throwable t) |
protected |
PubSubException(PubSubProtocol.StatusCode code,
Throwable t) |
| 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, toStringprotected PubSubProtocol.StatusCode code
protected PubSubException(PubSubProtocol.StatusCode code, String msg)
protected PubSubException(PubSubProtocol.StatusCode code, Throwable t)
protected PubSubException(PubSubProtocol.StatusCode code, String msg, Throwable t)
public static PubSubException create(PubSubProtocol.StatusCode code, String msg)
public PubSubProtocol.StatusCode getCode()
Copyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.