public class UserMessageString extends UserMessage
Constructor and Description |
---|
UserMessageString()
Creates an information message without parameters.
|
UserMessageString(Object[] params)
Creates an information message.
|
UserMessageString(Object[] params,
Throwable anException)
Creates an information message.
|
UserMessageString(Severity severity,
String aMessage,
Object[] params,
String anInternalId,
Throwable anException) |
UserMessageString(Severity severity,
String aMessage,
Object[] params,
Throwable anException) |
Modifier and Type | Method and Description |
---|---|
String |
getInternalId()
Returns a specific identifier for logging and technical auditing.
|
void |
setInternalId(String internalId)
Specifies the 'internalId'.
|
UserMessage |
setString(Locale aLocale,
String aRawString) |
UserMessage |
setStringForDefault(String aRawString) |
String |
toString() |
createError, createError, createFatal, createFatal, createInfo, createWarning, formatMessage, getSeverity, getThrowable, isError, isFatal, isInfo, isWarning, setSeverity, setSeverity
public UserMessageString()
public UserMessageString(Object[] params)
public UserMessageString(Object[] params, Throwable anException)
public UserMessageString(Severity severity, String aMessage, Object[] params, Throwable anException)
public String getInternalId()
UserMessage
null
if this message has no identifier (this
is the case for a UserMessageString
).getInternalId
in class UserMessage
public void setInternalId(String internalId)
getInternalId()
public UserMessage setStringForDefault(String aRawString)
public UserMessage setString(Locale aLocale, String aRawString)