|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.drools.RuntimeDroolsException org.drools.spi.ConsequenceException
public class ConsequenceException
Indicates an error during a Consequence
invocation.
Consequence
,
Serialized FormConstructor Summary | |
---|---|
ConsequenceException()
Construct. |
|
ConsequenceException(Rule rule)
|
|
ConsequenceException(String message)
|
|
ConsequenceException(String message,
Rule rule)
Construct with a message. |
|
ConsequenceException(String message,
Rule rule,
String info)
|
|
ConsequenceException(Throwable rootCause)
Construct with a root cause. |
|
ConsequenceException(Throwable rootCause,
Rule rule)
Construct with a root cause. |
|
ConsequenceException(Throwable rootCause,
Rule rule,
String info)
Construct with a root cause. |
Method Summary | |
---|---|
String |
getInfo()
|
Rule |
getRule()
|
void |
setInfo(String info)
Set arbitrary extra information about the condition. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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(Rule rule)
public ConsequenceException(String message, Rule rule)
rootCause
- The root cause of this exception.public ConsequenceException(Throwable rootCause, Rule rule)
rootCause
- The root cause of this exception.public ConsequenceException(String message, Rule rule, String info)
public ConsequenceException(Throwable rootCause, Rule rule, String info)
rootCause
- The root cause of this exception.Method Detail |
---|
public Rule 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |