Package org.apache.thrift.transport
Class TTransportException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.thrift.TException
org.apache.thrift.transport.TTransportException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TEOFException
,TSaslNegotiationException
Transport exceptions.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
protected int
static final int
-
Constructor Summary
ConstructorsConstructorDescriptionTTransportException
(int type) TTransportException
(int type, String message) TTransportException
(int type, String message, Throwable cause) TTransportException
(int type, Throwable cause) TTransportException
(String message) TTransportException
(String message, Throwable cause) TTransportException
(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:
-
NOT_OPEN
public static final int NOT_OPEN- See Also:
-
ALREADY_OPEN
public static final int ALREADY_OPEN- See Also:
-
TIMED_OUT
public static final int TIMED_OUT- See Also:
-
END_OF_FILE
public static final int END_OF_FILE- See Also:
-
CORRUPTED_DATA
public static final int CORRUPTED_DATA- See Also:
-
type_
protected int type_
-
-
Constructor Details
-
TTransportException
public TTransportException() -
TTransportException
public TTransportException(int type) -
TTransportException
-
TTransportException
-
TTransportException
-
TTransportException
-
TTransportException
-
TTransportException
-
-
Method Details
-
getType
public int getType()
-