public class ObjectMessage extends Objectimplements Message
| Constructor and Description |
|---|
ObjectMessage(Object
Creates the ObjectMessage.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object
|
String |
getFormat()
Returns the object formatted using its toString method.
|
String |
getFormattedMessage()
Returns the formatted object message.
|
Object |
getParameters()
Returns the object as if it were a parameter.
|
Throwable |
getThrowable()
Gets the message if it is a throwable.
|
int |
hashCode()
|
String |
toString()
|
public ObjectMessage(Objectobj)
obj - The Object to format.
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