|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.drools.DroolsException
org.drools.rule.RuleConstructionException
org.drools.rule.DuplicateRuleNameException
public class DuplicateRuleNameException
Indicates an attempt to add a Rule
to a RuleSet
that already contains a Rule
with the same name.
Rule
,
RuleSet
,
Serialized FormConstructor Summary | |
---|---|
DuplicateRuleNameException(RuleSet ruleSet,
Rule originalRule,
Rule conflictingRule)
Construct. |
Method Summary | |
---|---|
Rule |
getConflictingRule()
Retrieve the new conflicting Rule . |
Rule |
getOriginalRule()
Retrieve the original Rule in the RuleSet . |
RuleSet |
getRuleSet()
Retrieve the RuleSet . |
Methods inherited from class org.drools.DroolsException |
---|
getLocalizedMessage, getMessage, getRootCause, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DuplicateRuleNameException(RuleSet ruleSet, Rule originalRule, Rule conflictingRule)
ruleSet
- The RuleSet
.originalRule
- The Rule
already in the RuleSet
.conflictingRule
- The new, conflicting Rule
.Method Detail |
---|
public RuleSet getRuleSet()
RuleSet
.
RuleSet
.public Rule getOriginalRule()
Rule
in the RuleSet
.
Rule
.public Rule getConflictingRule()
Rule
.
Rule
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |