|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ibm.itim.exception.ITIMException
com.ibm.passwordrules.InvalidPasswordException
public class InvalidPasswordException
Objects of this class are thrown when a password violates one of the rules.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class com.ibm.itim.exception.ITIMException |
|---|
getLocalizedMessage, getMessage, getMessage, getMessageId, getThrowable, getTokens, normalize, printStackTrace, printStackTrace, printStackTrace, toXML |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public 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.| Method Detail |
|---|
public Rule getRuleViolated()
public java.lang.String getReason()
public java.util.Collection<InvalidPasswordException> getComposingExceptions()
public void setComposingExceptions(java.util.Collection<InvalidPasswordException> composingExceptions)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||