public class CLLMessage
extends java.lang.Object
CLLMessage
instance is required
to create a CLLException
.Constructor and Description |
---|
CLLMessage(java.lang.String msgId,
java.util.Locale locale,
java.lang.Object... params)
Construct a
CLLMessage instance from the message id, locale and positional parameter values. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAction()
Returns the action to be taken for the message.
|
java.lang.String |
getExplanation()
Returns the message explanation.
|
java.lang.String |
getMessage()
Returns the brief message text.
|
java.lang.String |
getMessageID()
Returns the message database id for the message.
|
public CLLMessage(java.lang.String msgId, java.util.Locale locale, java.lang.Object... params)
CLLMessage
instance from the message id, locale and positional parameter values.msgId
- Message ID in the message databaselocale
- The current user locale. If null is passed, the default locale will be takenparams
- The positional parameters that substitute for values in the message (can be null).public java.lang.String getMessageID()
public java.lang.String getAction()
public java.lang.String getExplanation()
public java.lang.String getMessage()