TemplateException.Builder |
TemplateException.Builder.argument(String key,
Object value) |
|
TemplateException.Builder |
TemplateException.Builder.arguments(Object... arguments) |
Every empty expression {} in the message template is a placeholder that is replaced with an index-based
array accessor
{data[n]} where n is the index of the placeholder.
|
TemplateException.Builder |
TemplateException.Builder.arguments(Map<String,Object> arguments) |
|
static TemplateException.Builder |
TemplateException.builder() |
Note that a qute template can be used to build the exception message.
|
TemplateException.Builder |
TemplateException.Builder.cause(Throwable cause) |
|
TemplateException.Builder |
TemplateException.Builder.code(ErrorCode code) |
|
default TemplateException.Builder |
ErrorInitializer.error(String message) |
|
TemplateException.Builder |
TemplateException.Builder.message(String message) |
The message can be a qute template.
|
TemplateException.Builder |
TemplateException.Builder.origin(TemplateNode.Origin origin) |
If set then the origin key can be used in the message template.
|