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 © 1999-2021 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.