com.syncbuilder.service
Class ServiceMessage
java.lang.Object
|
+--com.syncbuilder.service.ServiceMessage
- public class ServiceMessage
- extends java.lang.Object
A message from a service.
Contains message-text as well as a level of severity.
|
Constructor Summary |
ServiceMessage(java.lang.String msg)
Construct a ServiceMessage with the specified message-text and a NORMAL level
of severity. |
ServiceMessage(java.lang.String msg,
int level)
Construct a ServiceMessage with the specified message-text and the specified level
of severity (use the LVL_* constants). |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
LVL_DEBUG
public static final int LVL_DEBUG
LVL_NORMAL
public static final int LVL_NORMAL
LVL_WARNING
public static final int LVL_WARNING
LVL_FAILURE
public static final int LVL_FAILURE
ServiceMessage
public ServiceMessage(java.lang.String msg)
- Construct a ServiceMessage with the specified message-text and a NORMAL level
of severity.
ServiceMessage
public ServiceMessage(java.lang.String msg,
int level)
- Construct a ServiceMessage with the specified message-text and the specified level
of severity (use the LVL_* constants).
getMessageText
public java.lang.String getMessageText()
getLevel
public int getLevel()
getLevelName
public java.lang.String getLevelName()
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
This material is Copyrighted (C) 1999 by Tilo Christ. All Rights Reserved.