public class TqClientException extends IOException
| Modifier and Type | Field and Description |
|---|---|
Map<String,String> |
data |
String |
domain |
String |
reason |
| Constructor and Description |
|---|
TqClientException(String msg) |
TqClientException(String msg,
Throwable t) |
TqClientException(com.turtlequeue.sdk.api.proto.Tq.ReplyError err) |
TqClientException(com.turtlequeue.sdk.api.proto.Tq.ReplyError err,
Throwable t) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getData() |
String |
getDomain() |
String |
getReason() |
long |
getSequenceId() |
static boolean |
isRetriableError(Throwable t) |
protected static TqClientException |
makeTqExceptionFromReplyError(com.turtlequeue.sdk.api.proto.Tq.ReplyError err) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TqClientException(String msg)
public TqClientException(com.turtlequeue.sdk.api.proto.Tq.ReplyError err)
public TqClientException(com.turtlequeue.sdk.api.proto.Tq.ReplyError err,
Throwable t)
public long getSequenceId()
public String getDomain()
public String getReason()
protected static TqClientException makeTqExceptionFromReplyError(com.turtlequeue.sdk.api.proto.Tq.ReplyError err)
public static boolean isRetriableError(Throwable t)
Copyright © 2019-2021, TurtleQueue All Rights Reserved. Use is subject to license terms.