Package com.onwbp.base.text
Class UserMessageLocalized
java.lang.Object
com.onwbp.base.text.UserMessage
com.onwbp.base.text.UserMessageLocalized
Provides a localized message based on strings directly set from Java code (not
externalized).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
Returns a specific identifier for logging and technical auditing.getMessage
(Locale aLocale) void
setMessage
(String aMessage) void
setMessage
(Locale aLocale, String aMessage) toString()
Methods inherited from class com.onwbp.base.text.UserMessage
createError, createError, createFatal, createFatal, createInfo, createWarning, formatMessage, getSeverity, getThrowable, isError, isFatal, isInfo, isWarning, setSeverity, setSeverity
-
Constructor Details
-
UserMessageLocalized
public UserMessageLocalized()
-
-
Method Details
-
toString
-
setMessage
-
setMessage
-
getMessage
-
getDefaultMessage
-
getInternalId
Description copied from class:UserMessage
Returns a specific identifier for logging and technical auditing. Returnsnull
if this message has no identifier (this is the case for aUserMessageString
).- Specified by:
getInternalId
in classUserMessage
-
copy
-