|
Drools :: Core 6.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.drools.core.spi.ConsequenceException
public class ConsequenceException
Indicates an error during a Consequence invocation.
Consequence,
Serialized Form| Constructor Summary | |
|---|---|
ConsequenceException()
Construct. |
|
ConsequenceException(RuleImpl rule)
|
|
ConsequenceException(String message)
|
|
ConsequenceException(String message,
RuleImpl rule)
Construct with a message. |
|
ConsequenceException(String message,
RuleImpl rule,
String info)
|
|
ConsequenceException(Throwable rootCause)
Construct with a root cause. |
|
ConsequenceException(Throwable rootCause,
RuleImpl rule)
Construct with a root cause. |
|
ConsequenceException(Throwable rootCause,
RuleImpl rule,
String info)
Construct with a root cause. |
|
| Method Summary | |
|---|---|
String |
getInfo()
|
String |
getMessage()
|
RuleImpl |
getRule()
|
void |
setInfo(String info)
Set arbitrary extra information about the condition. |
String |
toString()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConsequenceException()
public ConsequenceException(String message)
public ConsequenceException(Throwable rootCause)
rootCause - The root cause of this exception.public ConsequenceException(RuleImpl rule)
public ConsequenceException(String message,
RuleImpl rule)
public ConsequenceException(Throwable rootCause,
RuleImpl rule)
rootCause - The root cause of this exception.
public ConsequenceException(String message,
RuleImpl rule,
String info)
public ConsequenceException(Throwable rootCause,
RuleImpl rule,
String info)
rootCause - The root cause of this exception.| Method Detail |
|---|
public RuleImpl getRule()
public void setInfo(String info)
The info property may be used to communicate the actual block text or other information in the case that Consequence does not have block text.
public String getInfo()
public String getMessage()
getMessage in class Throwablepublic String toString()
toString in class Throwable
|
Drools :: Core 6.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||