A simple non-error message that uses the String supplied to it as the message (i.e. it does not look up the message in a resource bundle).
Messages may contain one or more "replacement parameters". To use replacement parameters a message must contain the replacement token {#} where # is the numeric index of the replacement parameter.
For example, to construct a message with two replacement parameters you might supply a message like:
Welcome back {0}, your last login was on {1,date,short}.
At runtime this might get replaced out to result in a message for the user that looks like "Welcome back Johnnie, your last login was on 01/01/2006".
{@link java.text.MessageFormat} is used to merge the parameters in to the message and asa result the parameters can themselves receive formatting through the various java.text. formatters.
@author Tim Fennell
@see java.text.MessageFormat