Package 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:
Serializable
Protocol exceptions.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intprotected intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionTProtocolException(int type) TProtocolException(int type, String message) TProtocolException(int type, String message, Throwable cause) TProtocolException(int type, Throwable cause) TProtocolException(String message) TProtocolException(String message, Throwable cause) TProtocolException(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
UNKNOWN
public static final int UNKNOWN- See Also:
-
INVALID_DATA
public static final int INVALID_DATA- See Also:
-
NEGATIVE_SIZE
public static final int NEGATIVE_SIZE- See Also:
-
SIZE_LIMIT
public static final int SIZE_LIMIT- See Also:
-
BAD_VERSION
public static final int BAD_VERSION- See Also:
-
NOT_IMPLEMENTED
public static final int NOT_IMPLEMENTED- See Also:
-
DEPTH_LIMIT
public static final int DEPTH_LIMIT- See Also:
-
type_
protected int type_
-
-
Constructor Details
-
TProtocolException
public TProtocolException() -
TProtocolException
public TProtocolException(int type) -
TProtocolException
-
TProtocolException
-
TProtocolException
-
TProtocolException
-
TProtocolException
-
TProtocolException
-
-
Method Details
-
getType
public int getType()
-