public class InvalidPasswordException extends ITIMException
| Constructor and Description |
|---|
InvalidPasswordException(Rule ruleViolated)
Construct an invalid password exception with the rule that was violated.
|
InvalidPasswordException(Rule ruleViolated,
java.lang.String reason)
Construct an invalid password exception with the rule that was violated
and the reason for the violation.
|
InvalidPasswordException(Rule ruleViolated,
java.lang.String reason,
java.util.Collection<InvalidPasswordException> composingExceptions)
Construct an invalid password exception with the rule that was violated
and the reason for the violation.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<InvalidPasswordException> |
getComposingExceptions() |
java.lang.String |
getReason()
Gets the reason that the password violated the given rule.
|
Rule |
getRuleViolated()
Returns the rule that was violated to generate this exception.
|
void |
setComposingExceptions(java.util.Collection<InvalidPasswordException> composingExceptions) |
getLocalizedMessage, getMessage, getMessage, getMessageId, getThrowable, getTokens, normalize, printStackTrace, printStackTrace, printStackTrace, toXMLpublic InvalidPasswordException(Rule ruleViolated)
ruleViolated - The rule the password violates.public InvalidPasswordException(Rule ruleViolated, java.lang.String reason)
ruleViolated - The rule the password violates.reason - Reason for the violation.public InvalidPasswordException(Rule ruleViolated, java.lang.String reason, java.util.Collection<InvalidPasswordException> composingExceptions)
ruleViolated - The rule the password violates.reason - Reason for the violation.public Rule getRuleViolated()
public java.lang.String getReason()
public java.util.Collection<InvalidPasswordException> getComposingExceptions()
public void setComposingExceptions(java.util.Collection<InvalidPasswordException> composingExceptions)