com.ibm.passwordrules
Class IterationsExceededException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.itim.exception.ITIMException
              extended by 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
 
Constructor Summary
IterationsExceededException(int count)
          Constructor
 
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
 

Field Detail

ITERATIONS_EXCEEDED

public static final java.lang.String ITERATIONS_EXCEEDED
Constant representing a message key in a property file

See Also:
Constant Field Values
Constructor Detail

IterationsExceededException

public IterationsExceededException(int count)
Constructor

Parameters:
count - number of iterations exceeded
Method Detail

getCount

public int getCount()
Gets the number of iterations performed before an exception was thrown.

Returns:
The number of iterations performed.


IBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.