|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.ibm.itim.exception.ITIMException
|
+--com.ibm.passwordrules.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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.ibm.itim.exception.ITIMException |
|---|
getLocalizedMessage, getMessage, getMessage, getMessageId, getThrowable, getTokens, normalize, toXML |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, 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.| Method Detail |
public Rule getRuleViolated()
public java.lang.String getReason()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||