public class ConsequenceException extends RuntimeDroolsException
Consequence
invocation.Consequence
,
Serialized FormConstructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getInfo() |
String |
getMessage() |
Rule |
getRule() |
void |
setInfo(String info)
Set arbitrary extra information about the condition.
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
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 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()
public String getMessage()
getMessage
in class Throwable
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.