|
|||||||||||
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
Type safe enumeration of Change Password error types
Field Summary | |
static ErrorType |
KRB5_KPASSWD_ACCESSDENIED
|
static ErrorType |
KRB5_KPASSWD_AUTHERROR
|
static ErrorType |
KRB5_KPASSWD_BAD_VERSION
|
static ErrorType |
KRB5_KPASSWD_HARDERROR
|
static ErrorType |
KRB5_KPASSWD_INITIAL_FLAG_NEEDED
|
static ErrorType |
KRB5_KPASSWD_MALFORMED
|
static ErrorType |
KRB5_KPASSWD_SOFTERROR
|
static ErrorType |
KRB5_KPASSWD_UNKNOWN_ERROR
|
static java.util.List |
VALUES
a list of all the error type constants |
Method Summary | |
int |
compareTo(java.lang.Object 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 VALUES
Method Detail |
public java.lang.String getMessage()
public java.lang.String toString()
public int compareTo(java.lang.Object that)
compareTo
in interface java.lang.Comparable
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 |