com.ibm.wbiserver.brules.mgmt.problem
Class ProblemRuleNameAlreadyInUse
java.lang.Object
com.ibm.wbiserver.brules.mgmt.problem.Problem
com.ibm.wbiserver.brules.mgmt.problem.ProblemRuleNameAlreadyInUse
- All Implemented Interfaces:
- java.io.Serializable
public class ProblemRuleNameAlreadyInUse
- extends Problem
- implements java.io.Serializable
Problem class representing the error that the name of the new rule being added to the
rule block is already in use for another rule in that rule block.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
ProblemRuleNameAlreadyInUse
public ProblemRuleNameAlreadyInUse(java.lang.String newRuleName,
Rule existingRuleUsingName,
RuleBlock ruleBlock)
- Constructor for the ProblemRuleNameAlreadyInUse class.
- Parameters:
newRuleName
- The name of the new rule for the rule block.existingRuleUsingName
- The existing rule that is already using the name.ruleBlock
- The rule block to which the rule was being added.
getExistingRuleUsingName
public Rule getExistingRuleUsingName()
- Get the existing rule that is already using the name.
- Returns:
- The existing rule that is already using the name.
getNewRuleName
public java.lang.String getNewRuleName()
- Get the name of the new rule that is in error.
- Returns:
- The name of the new rule that is in error.
getRuleBlock
public RuleBlock getRuleBlock()
- Get the rule block to which the rule was being added.
- Returns:
- The rule block to which the rule was being added.
getErrorMessage
public java.lang.String getErrorMessage()
- Specified by:
getErrorMessage
in class Problem