| Package | Description |
|---|---|
| me.alidg.errors | |
| me.alidg.errors.conf | |
| me.alidg.errors.message |
| Modifier and Type | Method and Description |
|---|---|
static Argument |
Argument.arg(String name,
Object value)
Creates an
Argument instance based on the given name-value pair. |
| Modifier and Type | Method and Description |
|---|---|
List<Argument> |
HttpError.CodedMessage.getArguments() |
Map<String,List<Argument>> |
HandledException.getArguments() |
| Constructor and Description |
|---|
CodedMessage(String code,
String message,
List<Argument> arguments)
Constructs a code-message pair along with possible arguments.
|
HandledException(Set<String> errorCodes,
org.springframework.http.HttpStatus statusCode,
Map<String,List<Argument>> arguments)
Initialize a handled exception with a set of error codes, a HTTP status code and an
optional collection of arguments.
|
HandledException(String errorCode,
org.springframework.http.HttpStatus statusCode,
Map<String,List<Argument>> arguments)
Initialize a handled exception with an error code, a HTTP status code and an
optional collection of arguments.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ErrorsProperties.ArgumentExposure.expose(Map<String,Object> error,
List<Argument> arguments)
Exposes the given
arguments into the given error representation |
| Modifier and Type | Method and Description |
|---|---|
String |
TemplateAwareMessageSource.interpolate(String code,
List<Argument> arguments,
Locale locale)
Interpolates message templates resolved from
TemplateAwareMessageSource.messageSource. |
Copyright © 2019. All rights reserved.