public class TProtocolException extends TException
Modifier and Type | Field and Description |
---|---|
static int |
BAD_VERSION |
static int |
INVALID_DATA |
static int |
NEGATIVE_SIZE |
static int |
NOT_IMPLEMENTED |
static int |
SIZE_LIMIT |
protected int |
type_ |
static int |
UNKNOWN |
Constructor and Description |
---|
TProtocolException() |
TProtocolException(int type) |
TProtocolException(int type,
java.lang.String message) |
TProtocolException(int type,
java.lang.String message,
java.lang.Throwable cause) |
TProtocolException(int type,
java.lang.Throwable cause) |
TProtocolException(java.lang.String message) |
TProtocolException(java.lang.String message,
java.lang.Throwable cause) |
TProtocolException(java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
int |
getType() |
public static final int UNKNOWN
public static final int INVALID_DATA
public static final int NEGATIVE_SIZE
public static final int SIZE_LIMIT
public static final int BAD_VERSION
public static final int NOT_IMPLEMENTED
protected int type_
public TProtocolException()
public TProtocolException(int type)
public TProtocolException(int type, java.lang.String message)
public TProtocolException(java.lang.String message)
public TProtocolException(int type, java.lang.Throwable cause)
public TProtocolException(java.lang.Throwable cause)
public TProtocolException(java.lang.String message, java.lang.Throwable cause)
public TProtocolException(int type, java.lang.String message, java.lang.Throwable cause)