public class SimpleMessage extends Object implements Message
| Constructor and Description |
|---|
SimpleMessage()
Basic constructor.
|
SimpleMessage(String message)
Constructor that includes the message.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
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(String message)
message - The String message.public String getFormattedMessage()
getFormattedMessage in interface Messagepublic String getFormat()
public Object[] getParameters()
getParameters in interface Messagepublic Throwable getThrowable()
getThrowable in interface MessageCopyright © 2006-2016 OPS4J - Open Participation Software for Java. All Rights Reserved.