public class DLException extends IOException
| Modifier and Type | Field and Description |
|---|---|
protected com.twitter.distributedlog.thrift.service.StatusCode |
code |
| Modifier | Constructor and Description |
|---|---|
protected |
DLException(com.twitter.distributedlog.thrift.service.StatusCode code) |
protected |
DLException(com.twitter.distributedlog.thrift.service.StatusCode code,
String msg) |
protected |
DLException(com.twitter.distributedlog.thrift.service.StatusCode code,
String msg,
Throwable t) |
protected |
DLException(com.twitter.distributedlog.thrift.service.StatusCode code,
Throwable t) |
| Modifier and Type | Method and Description |
|---|---|
com.twitter.distributedlog.thrift.service.StatusCode |
getCode()
Return the status code representing the exception.
|
static DLException |
of(com.twitter.distributedlog.thrift.service.ResponseHeader response) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected DLException(com.twitter.distributedlog.thrift.service.StatusCode code)
protected DLException(com.twitter.distributedlog.thrift.service.StatusCode code,
String msg)
protected DLException(com.twitter.distributedlog.thrift.service.StatusCode code,
Throwable t)
public com.twitter.distributedlog.thrift.service.StatusCode getCode()
public static DLException of(com.twitter.distributedlog.thrift.service.ResponseHeader response)
Copyright © 2016. All Rights Reserved.