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:
Serializable
- Direct Known Subclasses:
TInvalidSaslFrameException
Exception for sasl negotiation errors.
- See Also:
-
Nested Class Summary
-
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
ConstructorDescriptionTSaslNegotiationException
(TSaslNegotiationException.ErrorType error, String summary) TSaslNegotiationException
(TSaslNegotiationException.ErrorType error, String summary, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.apache.thrift.transport.TTransportException
getType
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TSaslNegotiationException
-
TSaslNegotiationException
public TSaslNegotiationException(TSaslNegotiationException.ErrorType error, String summary, Throwable cause)
-
-
Method Details
-
getErrorType
-
getSummary
- Returns:
- Errory type plus the message.
-
getDetails
- Returns:
- Summary and eventually the cause's message.
-