org.apache.thrift.protocol
Class TProtocolException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.thrift.TException
org.apache.thrift.protocol.TProtocolException
- All Implemented Interfaces:
- java.io.Serializable
public class TProtocolException
- extends TException
Protocol exceptions.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UNKNOWN
public static final int UNKNOWN
- See Also:
- Constant Field Values
INVALID_DATA
public static final int INVALID_DATA
- See Also:
- Constant Field Values
NEGATIVE_SIZE
public static final int NEGATIVE_SIZE
- See Also:
- Constant Field Values
SIZE_LIMIT
public static final int SIZE_LIMIT
- See Also:
- Constant Field Values
BAD_VERSION
public static final int BAD_VERSION
- See Also:
- Constant Field Values
NOT_IMPLEMENTED
public static final int NOT_IMPLEMENTED
- See Also:
- Constant Field Values
type_
protected int type_
TProtocolException
public TProtocolException()
TProtocolException
public TProtocolException(int type)
TProtocolException
public TProtocolException(int type,
java.lang.String message)
TProtocolException
public TProtocolException(java.lang.String message)
TProtocolException
public TProtocolException(int type,
java.lang.Throwable cause)
TProtocolException
public TProtocolException(java.lang.Throwable cause)
TProtocolException
public TProtocolException(java.lang.String message,
java.lang.Throwable cause)
TProtocolException
public TProtocolException(int type,
java.lang.String message,
java.lang.Throwable cause)
getType
public int getType()