public interface MessageBuilder
Modifier and Type | Method and Description |
---|---|
String |
buildMessage(char level,
String category,
int id)
Builds a message.
|
String |
buildMessage(char level,
String category,
int id,
Object... arguments)
Builds a message with arguments.
|
String |
buildMessage(char level,
String category,
int id,
Throwable t)
Builds a message with a throwable.
|
String |
buildMessage(char level,
String category,
int id,
Throwable t,
Object... arguments)
Builds a message with a throwable and arguments.
|
String buildMessage(char level, String category, int id)
level
- the level of the message.category
- the category of the message.id
- the ID of the message.NullPointerException
- if the given category is null
.String buildMessage(char level, String category, int id, Object... arguments)
level
- the level of the message.category
- the category of the message.id
- the ID of the message.arguments
- the arguments.NullPointerException
- if the given category is null
.String buildMessage(char level, String category, int id, Throwable t)
level
- the level of the message.category
- the category of the message.id
- the ID of the message.t
- the throwable.NullPointerException
- if the given category is null
.String buildMessage(char level, String category, int id, Throwable t, Object... arguments)
level
- the level of the message.category
- the category of the message.id
- the ID of the message.t
- the throwable.arguments
- the arguments.NullPointerException
- if the given category is null
.