public class PasswordPolicyException
extends org.apache.directory.api.ldap.model.exception.LdapException
| Modifier and Type | Field and Description |
|---|---|
private int |
errorCode
password policy error code
|
private static long |
serialVersionUID |
private static int[] |
VALID_CODES
the array of valid error codes representing password policy errors
|
| Constructor and Description |
|---|
PasswordPolicyException(int errorCode) |
PasswordPolicyException(java.lang.String message) |
PasswordPolicyException(java.lang.String message,
int errorCode) |
PasswordPolicyException(java.lang.Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode() |
private void |
validateErrorCode(int errorCode)
this method checks if the given error code is valid or not.
|
private static final long serialVersionUID
private int errorCode
private static final int[] VALID_CODES
public PasswordPolicyException(java.lang.Throwable cause)
public PasswordPolicyException(java.lang.String message)
public PasswordPolicyException(java.lang.String message,
int errorCode)
public PasswordPolicyException(int errorCode)
public int getErrorCode()
private void validateErrorCode(int errorCode)
errorCode - the error code of password policy