public final class Messages
extends java.lang.Object
Messages.| Modifier and Type | Method and Description |
|---|---|
static Message |
newStringMessage(java.lang.String toString)
|
public static Message newStringMessage(java.lang.String toString)
Message that has a toString() method that returns toString.
If toString is null, a NullPointerException will be thrown.
toString - the String to be returned by the toString() method of the new MessageMessage that has a toString() method that returns toStringjava.lang.NullPointerException - thrown if, and only if, toString is null