org.apache.thrift
Class TApplicationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.thrift.TException
org.apache.thrift.TApplicationException
- All Implemented Interfaces:
- java.io.Serializable
public class TApplicationException
- extends TException
Application level exception
- 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
UNKNOWN_METHOD
public static final int UNKNOWN_METHOD
- See Also:
- Constant Field Values
INVALID_MESSAGE_TYPE
public static final int INVALID_MESSAGE_TYPE
- See Also:
- Constant Field Values
WRONG_METHOD_NAME
public static final int WRONG_METHOD_NAME
- See Also:
- Constant Field Values
BAD_SEQUENCE_ID
public static final int BAD_SEQUENCE_ID
- See Also:
- Constant Field Values
MISSING_RESULT
public static final int MISSING_RESULT
- See Also:
- Constant Field Values
INTERNAL_ERROR
public static final int INTERNAL_ERROR
- See Also:
- Constant Field Values
PROTOCOL_ERROR
public static final int PROTOCOL_ERROR
- See Also:
- Constant Field Values
INVALID_TRANSFORM
public static final int INVALID_TRANSFORM
- See Also:
- Constant Field Values
INVALID_PROTOCOL
public static final int INVALID_PROTOCOL
- See Also:
- Constant Field Values
UNSUPPORTED_CLIENT_TYPE
public static final int UNSUPPORTED_CLIENT_TYPE
- See Also:
- Constant Field Values
type_
protected int type_
TApplicationException
public TApplicationException()
TApplicationException
public TApplicationException(int type)
TApplicationException
public TApplicationException(int type,
java.lang.String message)
TApplicationException
public TApplicationException(java.lang.String message)
getType
public int getType()
read
public static TApplicationException read(TProtocol iprot)
throws TException
- Throws:
TException
write
public void write(TProtocol oprot)
throws TException
- Throws:
TException