Package org.kie.api.runtime.rule
Class ConsequenceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.kie.api.runtime.rule.ConsequenceException
-
- All Implemented Interfaces:
Serializable
public class ConsequenceException extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConsequenceException(Throwable rootCause, RuleRuntime workingMemory, Match match)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Match
getMatch()
String
getMessage()
Rule
getRule()
void
printFacts()
void
printFacts(PrintStream pStream)
String
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
ConsequenceException
public ConsequenceException(Throwable rootCause, RuleRuntime workingMemory, Match match)
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getMatch
public Match getMatch()
-
getRule
public Rule getRule()
-
printFacts
public void printFacts()
-
printFacts
public void printFacts(PrintStream pStream)
-
-