|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.changepw.exceptions.ErrorType
public final class ErrorType
Type safe enumeration of Change Password error types
| Field Summary | |
|---|---|
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 java.util.List<ErrorType> |
VALUES
A list of all the error type constants. |
| Method Summary | |
|---|---|
int |
compareTo(ErrorType that)
Compares this type to another object hopefully one that is of the same type. |
java.lang.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. |
java.lang.String |
toString()
Returns the message for this Change Password error. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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 static final java.util.List<ErrorType> VALUES
| Method Detail |
|---|
public java.lang.String getMessage()
public java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(ErrorType that)
compareTo in interface java.lang.Comparable<ErrorType>that - the object to compare this ErrorType to
public static ErrorType getTypeByOrdinal(int ordinal)
ordinal - the ordinal value of the ordinal
public int getOrdinal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||