com.ibm.passwordrules
Class IncompatibleRulesException

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

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