Package org.apache.thrift.transport.sasl
Class TSaslNegotiationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.thrift.TException
-
- org.apache.thrift.transport.TTransportException
-
- org.apache.thrift.transport.sasl.TSaslNegotiationException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
TInvalidSaslFrameException
public class TSaslNegotiationException extends TTransportException
Exception for sasl negotiation errors.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSaslNegotiationException.ErrorType
-
Field Summary
-
Fields inherited from class org.apache.thrift.transport.TTransportException
ALREADY_OPEN, CORRUPTED_DATA, END_OF_FILE, NOT_OPEN, TIMED_OUT, type_, UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description TSaslNegotiationException(TSaslNegotiationException.ErrorType error, java.lang.String summary)TSaslNegotiationException(TSaslNegotiationException.ErrorType error, java.lang.String summary, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDetails()TSaslNegotiationException.ErrorTypegetErrorType()java.lang.StringgetSummary()-
Methods inherited from class org.apache.thrift.transport.TTransportException
getType
-
-
-
-
Constructor Detail
-
TSaslNegotiationException
public TSaslNegotiationException(TSaslNegotiationException.ErrorType error, java.lang.String summary)
-
TSaslNegotiationException
public TSaslNegotiationException(TSaslNegotiationException.ErrorType error, java.lang.String summary, java.lang.Throwable cause)
-
-
Method Detail
-
getErrorType
public TSaslNegotiationException.ErrorType getErrorType()
-
getSummary
public java.lang.String getSummary()
- Returns:
- Errory type plus the message.
-
getDetails
public java.lang.String getDetails()
- Returns:
- Summary and eventually the cause's message.
-
-