com.ibm.passwordrules
Class IncompatibleRulesException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.itim.exception.ITIMException
                    |
                    +--com.ibm.passwordrules.IncompatibleRulesException
All Implemented Interfaces:
java.io.Serializable

public class IncompatibleRulesException
extends ITIMException

IncompatibleRulesException is thrown when given two rules cannot be joined because they are not compatible.

See Also:
Serialized Form

Constructor Summary
IncompatibleRulesException(Rule rule1, Rule rule2)
          Exception that indicates that rule1 and rule2 are incompatible.
IncompatibleRulesException(Rule rule1, Rule rule2, java.lang.String reason)
          Exception that indicates that rule1 and rule2 are incompatible.
 
Method Summary
 java.lang.String getReason()
          Gets the reason for incompatibility
 Rule getRule1()
          Gets the first incompatible rule
 Rule getRule2()
          Gets the Gets the second incompatible rule
 
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

IncompatibleRulesException

public IncompatibleRulesException(Rule rule1,
                                  Rule rule2,
                                  java.lang.String reason)
Exception that indicates that rule1 and rule2 are incompatible.

Parameters:
rule1 - The first rule.
rule2 - The second rule.
reason - The reason the two rules are incompatible.

IncompatibleRulesException

public IncompatibleRulesException(Rule rule1,
                                  Rule rule2)
Exception that indicates that rule1 and rule2 are incompatible.

Parameters:
rule1 - The first rule.
rule2 - The second rule.
Method Detail

getRule1

public Rule getRule1()
Gets the first incompatible rule

Returns:
First incompatible rule

getRule2

public Rule getRule2()
Gets the Gets the second incompatible rule

Returns:
the second incompatible rule

getReason

public java.lang.String getReason()
Gets the reason for incompatibility

Returns:
reason description


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.