Package com.onwbp.base.text
Class UserMessageString
java.lang.Object
com.onwbp.base.text.UserMessage
com.onwbp.base.text.UserMessageString
Provides a message based on strings directly set from Java code (not
externalized).
-
Constructor Summary
ConstructorDescriptionCreates an information message without parameters.UserMessageString
(Severity severity, String aMessage, Object[] params, String anInternalId, Throwable anException) UserMessageString
(Severity severity, String aMessage, Object[] params, Throwable anException) UserMessageString
(Object[] params) Creates an information message.UserMessageString
(Object[] params, Throwable anException) Creates an information message. -
Method Summary
Modifier and TypeMethodDescriptionReturns a specific identifier for logging and technical auditing.void
setInternalId
(String internalId) Specifies the 'internalId'.setStringForDefault
(String aRawString) 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
-
UserMessageString
public UserMessageString()Creates an information message without parameters. -
UserMessageString
Creates an information message. -
UserMessageString
Creates an information message. -
UserMessageString
-
UserMessageString
-
-
Method Details
-
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
-
setInternalId
Specifies the 'internalId'.- See Also:
-
toString
-
setStringForDefault
-
setString
-