com.ibm.passwordrules

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