public enum LDAPErrorCode extends Enum<LDAPErrorCode>
| Enum Constant and Description |
|---|
LDAP_CONNECTION_ERROR
RESPONSE_PARSE_ERROR
|
LDAP_PARSE_REQUEST_ERROR
RESPONSE_PARSE_ERROR
|
LDAP_ROLES_REQUEST_ERROR
Email not registered
|
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode()
Function to get error code
|
String |
getErrorMessage()
Function to get the error message
|
static LDAPErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LDAPErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LDAPErrorCode LDAP_CONNECTION_ERROR
public static final LDAPErrorCode LDAP_PARSE_REQUEST_ERROR
public static final LDAPErrorCode LDAP_ROLES_REQUEST_ERROR
public static LDAPErrorCode[] values()
for (LDAPErrorCode c : LDAPErrorCode.values()) System.out.println(c);
public static LDAPErrorCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getErrorMessage()
errorMessagerCopyright © 2020. All rights reserved.