public class SimpleMessage extends Objectimplements Message
| Constructor and Description |
|---|
SimpleMessage()
Basic constructor.
|
SimpleMessage(String
Constructor that includes the message.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object
|
String |
getFormat()
Returns the message.
|
String |
getFormattedMessage()
Returns the message.
|
Object |
getParameters()
Returns null since there are no parameters.
|
Throwable |
getThrowable()
Always returns null.
|
int |
hashCode()
|
String |
toString()
|
public SimpleMessage()
public SimpleMessage(Stringmessage)
message - The String message.
public StringgetFormattedMessage()
getFormattedMessage in interface
Message
public StringgetFormat()
public Object[] getParameters()
getParameters in interface
Message
public boolean equals(Objecto)
public int hashCode()
public StringtoString()
public ThrowablegetThrowable()
getThrowable in interface
Message