Package com.sun.identity.idm
Class PasswordPolicyException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- com.sun.identity.idm.IdRepoException
 - 
- com.sun.identity.idm.PasswordPolicyException
 
 
 
 
 
- 
- All Implemented Interfaces:
 com.sun.identity.shared.locale.L10NMessage,Serializable
@SupportedAll public class PasswordPolicyException extends IdRepoException
The exception class whose instance is thrown if there is any error related with password issue.- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description PasswordPolicyException(IdRepoException e)Create a password policy exception from an id repo exception.PasswordPolicyException(IdRepoException e, Object[] args)Create a password policy exception from an id repo exception.PasswordPolicyException(String msg)Create a new password policy exception with a custom error messagePasswordPolicyException(String errorCode, Object[] args)Create a new Password policy exceptionPasswordPolicyException(ResultCode resultCode, String errorCode, Object... args)Create a new Password policy exception 
- 
Method Summary
- 
Methods inherited from class com.sun.identity.idm.IdRepoException
getConstraintViolationDetails, getErrorCode, getL10NMessage, getLDAPErrorCode, getLdapErrorIntCode, getMessage, getMessageArgs, getResourceBundleName, setLDAPErrorCode, toString 
- 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
PasswordPolicyException
public PasswordPolicyException(String msg)
Create a new password policy exception with a custom error message- Parameters:
 msg- the error message
 
- 
PasswordPolicyException
public PasswordPolicyException(ResultCode resultCode, String errorCode, Object... args)
Create a new Password policy exception- Parameters:
 resultCode- the LDAP error codeerrorCode- the error codeargs- the arguments required for this error code.
 
- 
PasswordPolicyException
public PasswordPolicyException(IdRepoException e)
Create a password policy exception from an id repo exception.- Parameters:
 e- the id repo exception
 
- 
PasswordPolicyException
public PasswordPolicyException(IdRepoException e, Object[] args)
Create a password policy exception from an id repo exception.- Parameters:
 e- the id repo exceptionargs- the arguments required for this error code.
 
 - 
 
 -