Package org.apache.thrift.transport.sasl
Enum TSaslNegotiationException.ErrorType
- java.lang.Object
-
- java.lang.Enum<TSaslNegotiationException.ErrorType>
-
- org.apache.thrift.transport.sasl.TSaslNegotiationException.ErrorType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TSaslNegotiationException.ErrorType>
- Enclosing class:
- TSaslNegotiationException
public static enum TSaslNegotiationException.ErrorType extends java.lang.Enum<TSaslNegotiationException.ErrorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHENTICATION_FAILUREINTERNAL_ERRORMECHANISME_MISMATCHPROTOCOL_ERROR
-
Field Summary
Fields Modifier and Type Field Description NegotiationStatuscode
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TSaslNegotiationException.ErrorTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TSaslNegotiationException.ErrorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTERNAL_ERROR
public static final TSaslNegotiationException.ErrorType INTERNAL_ERROR
-
PROTOCOL_ERROR
public static final TSaslNegotiationException.ErrorType PROTOCOL_ERROR
-
MECHANISME_MISMATCH
public static final TSaslNegotiationException.ErrorType MECHANISME_MISMATCH
-
AUTHENTICATION_FAILURE
public static final TSaslNegotiationException.ErrorType AUTHENTICATION_FAILURE
-
-
Field Detail
-
code
public final NegotiationStatus code
-
-
Method Detail
-
values
public static TSaslNegotiationException.ErrorType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TSaslNegotiationException.ErrorType c : TSaslNegotiationException.ErrorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TSaslNegotiationException.ErrorType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-