public class Message extends Object implements Serializable
Constructor and Description |
---|
Message(Object source,
String text,
Severity severity)
Creates a new message.
|
Modifier and Type | Method and Description |
---|---|
Severity |
getSeverity()
The severity of this message.
|
Object |
getSource()
A reference to the source element this message is associated with.
|
String |
getText()
The message text.
|
String |
toString() |
public Object getSource()
public String getText()
public Severity getSeverity()