public class Message
extends java.lang.Object
Constructor and Description |
---|
Message(MessageCode mc,
java.lang.Object... args) |
Message(java.lang.Throwable th)
Convenience method to create a MessageCode.EXCEPTION message for a caught exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
MessageCode |
getMessageCode() |
java.lang.String |
toString() |
public Message(MessageCode mc, java.lang.Object... args)
public Message(java.lang.Throwable th)
public MessageCode getMessageCode()
public java.lang.String getMessage()
public java.lang.String toString()
toString
in class java.lang.Object