public static class MessageCode.DynamicMessageCode extends MessageCode
MessageCode.DynamicMessageCode, MessageCode.MessageCodeFromField
Constructor and Description |
---|
DynamicMessageCode(String name,
String message) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Directly returns message from bundle.
|
String |
getMessage(Object... args)
Returns formatted message from bundle.
|
String |
name()
Name for this MessageCode
|
getErrorCode, initMessages, loadBundle, toString
public String name()
MessageCode
name
in class MessageCode
public String getMessage(Object... args)
MessageCode
getMessage
in class MessageCode
public String getMessage()
MessageCode
getMessage
in class MessageCode