public class MaximoMessage
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
org.apache.log4j.Level |
getLevel(MXException mxe) |
static MaximoMessage |
getMaximoMessage() |
java.lang.String |
getMessage(java.lang.String group,
java.lang.String key,
java.lang.Object[] param)
Generate the text for the message specified by the group & key and
fill in the parameters.
|
java.lang.String |
getMessage(java.lang.Throwable e)
Get the text for an exception.
|
java.lang.String |
getMessageWithDefault(java.lang.String group,
java.lang.String key,
java.lang.String defaultMessage,
java.lang.Object[] param)
Generate the text for the message specified by the group & key and
fill in the parameters.
|
static void |
setDatabaseConnection(java.sql.Connection dc) |
public static void setDatabaseConnection(java.sql.Connection dc)
public static MaximoMessage getMaximoMessage()
public java.lang.String getMessage(java.lang.String group, java.lang.String key, java.lang.Object[] param)
group
- key
- param
- public java.lang.String getMessageWithDefault(java.lang.String group, java.lang.String key, java.lang.String defaultMessage, java.lang.Object[] param)
group
- key
- defaultMessage
- param
- public final java.lang.String getMessage(java.lang.Throwable e)
public org.apache.log4j.Level getLevel(MXException mxe)
mxe
-