|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.tivoli.pd.jutil.PDMessage
This class stores the message code, localized string, and severity for a single PD Message.
Field Summary | |
static int |
PDMESSAGE_SEVERITY_ERROR
Represents the error severity level for a PD Message. |
static int |
PDMESSAGE_SEVERITY_INFO
Represents the information severity level for a PD Message. |
static int |
PDMESSAGE_SEVERITY_WARNING
Represents the warning severity level for a PD Message. |
Constructor Summary | |
PDMessage(int inMsgCode,
java.util.Locale locale)
Constructs a PDMessage with the specified code and locale. |
|
PDMessage(int inMsgCode,
java.lang.String inMsgText,
long inMsgSeverity)
Constructs a PDMessage with the specified code, text, and severity. |
Method Summary | |
int |
getMsgCode()
Returns the code for the message. |
long |
getMsgSeverity()
Returns the severity for the message. |
java.lang.String |
getMsgText()
Returns the localized text for the message. |
java.lang.String |
toString()
Returns a string representation of this PDMessage. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int PDMESSAGE_SEVERITY_INFO
public static final int PDMESSAGE_SEVERITY_WARNING
public static final int PDMESSAGE_SEVERITY_ERROR
Constructor Detail |
public PDMessage(int inMsgCode, java.lang.String inMsgText, long inMsgSeverity)
inMsgCode
- Code for this message.inMsgText
- Localized text for this message.inMsgSeverity
- Severity for this message.public PDMessage(int inMsgCode, java.util.Locale locale)
inMsgCode
- Code for this message.locale
- Locale for any data that is returned.Method Detail |
public int getMsgCode()
public java.lang.String getMsgText()
public long getMsgSeverity()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |