public final class ErrorType extends Object implements Comparable<ErrorType>
Modifier and Type | Field and Description |
---|---|
static ErrorType |
KRB5_KPASSWD_ACCESSDENIED
Constant for the "Requestor not authorized" error type.
|
static ErrorType |
KRB5_KPASSWD_AUTHERROR
Constant for the "Request failed due to an error in authentication processing" error type.
|
static ErrorType |
KRB5_KPASSWD_BAD_VERSION
Constant for the "Protocol version unsupported" error type.
|
static ErrorType |
KRB5_KPASSWD_HARDERROR
Constant for the "Request failed due to a hard error in processing the request" error type.
|
static ErrorType |
KRB5_KPASSWD_INITIAL_FLAG_NEEDED
Constant for the "Initial flag required" error type.
|
static ErrorType |
KRB5_KPASSWD_MALFORMED
Constant for the "Request failed due to being malformed" error type.
|
static ErrorType |
KRB5_KPASSWD_SOFTERROR
Constant for the "Request failed due to a soft error in processing the request" error type.
|
static ErrorType |
KRB5_KPASSWD_UNKNOWN_ERROR
Constant for the "Request failed for an unknown reason" error type.
|
static List<ErrorType> |
VALUES
A list of all the error type constants.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ErrorType that)
Compares this type to another object hopefully one that is of the same
type.
|
String |
getMessage()
Returns the message for this Change Password error.
|
int |
getOrdinal()
Gets the ordinal value associated with this Change Password error.
|
static ErrorType |
getTypeByOrdinal(int ordinal)
Gets the ordinal by its ordinal value.
|
String |
toString()
Returns the message for this Change Password error.
|
public static final ErrorType KRB5_KPASSWD_MALFORMED
public static final ErrorType KRB5_KPASSWD_HARDERROR
public static final ErrorType KRB5_KPASSWD_AUTHERROR
public static final ErrorType KRB5_KPASSWD_SOFTERROR
public static final ErrorType KRB5_KPASSWD_ACCESSDENIED
public static final ErrorType KRB5_KPASSWD_BAD_VERSION
public static final ErrorType KRB5_KPASSWD_INITIAL_FLAG_NEEDED
public static final ErrorType KRB5_KPASSWD_UNKNOWN_ERROR
public String getMessage()
public String toString()
public int compareTo(ErrorType that)
compareTo
in interface Comparable<ErrorType>
that
- the object to compare this ErrorType topublic static ErrorType getTypeByOrdinal(int ordinal)
ordinal
- the ordinal value of the ordinalpublic int getOrdinal()
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.