com.ibm.passwordrules
Class IterationsExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.itim.exception.ITIMException
com.ibm.passwordrules.IterationsExceededException
- All Implemented Interfaces:
- java.io.Serializable
public class IterationsExceededException
- extends ITIMException
Class represents an exception, which is thrown if the allowed number of iterations
was exceeded while generating a random password satisfying all associated password rules.
Exception may occur under one of the following conditions:
1. The password rules are too restrictive and therefore the generator couldn't create
a strong password.
2. The password rules' contrain method implementations are weaker than the corresponding validate methods.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
ITERATIONS_EXCEEDED
Constant representing a message key in a property file |
Method Summary |
int |
getCount()
Gets the number of iterations performed before an exception was thrown. |
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 |
ITERATIONS_EXCEEDED
public static final java.lang.String ITERATIONS_EXCEEDED
- Constant representing a message key in a property file
- See Also:
- Constant Field Values
IterationsExceededException
public IterationsExceededException(int count)
- Constructor
- Parameters:
count
- number of iterations exceeded
getCount
public int getCount()
- Gets the number of iterations performed before an exception was thrown.
- Returns:
- The number of iterations performed.
IBM Tivoli Identity Manager 5.1
© Copyright International Business Machines Corporation 2007, 2009. All rightsreserved. US Government Users Restricited RightsUse, duplication or disclosure restricted by GSA ADP ScheduleContract with IBM Corp.