|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.candle.roma.kxc.RomaLogInformation
This class encapsulates the human-readable information that can be logged to an error log or sent as an alert.
Constructor Summary | |
RomaLogInformation()
Constructs RomaLogInformation with a default message. |
Method Summary | |
void |
setFormat(int format)
Sets format flags. |
void |
setSeverity(int severity)
Sets severity of the error. |
void |
setUserData(byte[] data)
Sets the user data part of the log or alert message. |
void |
setUserData(byte[] data,
int length)
Sets the user data part of the log or alert message. |
void |
setUserData(java.lang.String data)
Sets the user data part of the log or alert message. |
void |
setUserText(java.lang.String userText)
Sets the user text, which will be included in the log or alert message. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RomaLogInformation()
Method Detail |
public void setSeverity(int severity)
severity
- severity of the error. It is one of the
following constants:
public void setFormat(int format)
format
- new Roma format setting. Can be FORMAT_NONE or
any combination of the following constants :-
public void setUserText(java.lang.String userText)
userText
- the user textpublic void setUserData(byte[] data, int length)
data
- User data to log.length
- Length of the user data.public void setUserData(java.lang.String data)
data
- User data to log.public void setUserData(byte[] data)
data
- User data to log.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |