public class ConsequenceException extends RuntimeException
Consequence
invocation.Consequence
,
Serialized FormConstructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getInfo() |
String |
getMessage() |
RuleImpl |
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(RuleImpl rule)
public ConsequenceException(String message, RuleImpl rule)
public ConsequenceException(Throwable rootCause, RuleImpl rule)
rootCause
- The root cause of this exception.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 Throwable
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.