|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.rules.teamserver.model.IlrElementError
public class IlrElementError
A Decision Center error created when generating a ruleset archive, checking a ruleset archive, committing an object, and so on.
Field Summary | |
---|---|
static int |
SEVERITY_ERROR
|
static int |
SEVERITY_INFO
|
static int |
SEVERITY_NEVER
|
static int |
SEVERITY_SEMANTIC
|
static int |
SEVERITY_WARNING
|
Constructor Summary | |
---|---|
IlrElementError(String messageKey)
|
Method Summary | |
---|---|
static String |
errorAsString(IlrElementError error,
IlrSession session)
Returns a readable messages of the error . |
Object[] |
getArgs()
Gets the arguments of the message that can be constructed using the error key. |
Exception |
getCause()
Gets the exception that was the cause of the error. |
String |
getMessageKey()
Gets the key representing the type of the error. |
int |
getSeverity()
Gets the severity of the error. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SEVERITY_INFO
public static final int SEVERITY_WARNING
public static final int SEVERITY_ERROR
public static final int SEVERITY_SEMANTIC
public static final int SEVERITY_NEVER
Constructor Detail |
---|
public IlrElementError(String messageKey)
messageKey
- The key representing the type of the error.Method Detail |
---|
public String getMessageKey()
public int getSeverity()
public Exception getCause()
public Object[] getArgs()
getMessageKey()
public static String errorAsString(IlrElementError error, IlrSession session)
error
.
error
- The error to get the message from.session
- The session.
|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |