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
 
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, 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
 

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 Tivoli Identity Manager 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.