public class DmcRuleException extends Exception
| Constructor and Description |
|---|
DmcRuleException(String baseMessage,
RuleIF ri)
Instantiates a new DmcRuleException.
|
DmcRuleException(String baseMessage,
RuleIF ri,
String mk)
Instantiates a new, translatable DmcRuleException.
|
DmcRuleException(String baseMessage,
RuleIF ri,
String mk,
String p1)
Instantiates a new, translatable DmcRuleException with a single message parameter.
|
DmcRuleException(String baseMessage,
RuleIF ri,
String mk,
String p1,
String p2)
Instantiates a new, translatable DmcRuleException with two message parameters.
|
DmcRuleException(String baseMessage,
RuleIF ri,
String mk,
String p1,
String p2,
String p3)
Instantiates a new, translatable DmcRuleException with three message parameters.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessageKey() |
String |
getParameter(int index) |
RuleIF |
getRule() |
boolean |
immediateHalt() |
void |
immediateHalt(boolean f)
Sets the immediate halt flag as specified.
|
SourceInfo |
source() |
void |
source(SourceInfo si) |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic DmcRuleException(String baseMessage, RuleIF ri)
baseMessage - the basic message.ri - the rule that threw the exception.public DmcRuleException(String baseMessage, RuleIF ri, String mk)
baseMessage - the basic message.ri - the rule that threw the exception.mk - the message key.public DmcRuleException(String baseMessage, RuleIF ri, String mk, String p1)
baseMessage - the basic message.ri - the rule that threw the exception.mk - the message key.p1 - the first parameter.public DmcRuleException(String baseMessage, RuleIF ri, String mk, String p1, String p2)
baseMessage - the basic message.ri - the rule that threw the exception.mk - the message key.p1 - the first parameter.p2 - the second parameter.public DmcRuleException(String baseMessage, RuleIF ri, String mk, String p1, String p2, String p3)
baseMessage - the basic message.ri - the rule that threw the exception.mk - the message key.p1 - the first parameter.p2 - the second parameter.p3 - the third parameter.public void source(SourceInfo si)
public SourceInfo source()
public boolean immediateHalt()
public void immediateHalt(boolean f)
f - the flag value.public RuleIF getRule()
public String getMessageKey()
public String getParameter(int index)
Copyright © 2023. All rights reserved.