public interface IlrDTError
IlrDTError represents a DT error generated by the
interpretation of the DT model.
This interface is not to be implemented outside the DT framework.
| Modifier and Type | Field and Description |
|---|---|
static int |
SEVERITY_ERROR
error severity
|
static int |
SEVERITY_INFO
info severity
|
static int |
SEVERITY_NONE
default severity
|
static int |
SEVERITY_WARNING
warning severity
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object[] |
getArgs()
Returns the arguments associated with this error.
|
java.lang.String |
getFormattedMessage(IlrDTContext dtContext,
boolean includeLocation)
Returns a readable error message.
|
java.lang.String |
getMessage()
Returns the message associated with this error.
|
int |
getSeverity()
Returns the severity of this error.
|
boolean |
isTreeError()
Tests if this a decision tree error.
|
static final int SEVERITY_NONE
static final int SEVERITY_INFO
static final int SEVERITY_WARNING
static final int SEVERITY_ERROR
int getSeverity()
java.lang.String getMessage()
getFormattedMessage(IlrDTContext, boolean) to retrieve a
readable error message.java.lang.Object[] getArgs()
null is returned.java.lang.String getFormattedMessage(IlrDTContext dtContext, boolean includeLocation)
dtContext - The DT context representing the DT Model.includeLocation - Set to true so the message
returned includes information about the location of this error.boolean isTreeError()
true is returned.© Copyright IBM Corp. 1987, 2017