public class CustomParameterizedException
extends org.zalando.problem.AbstractThrowableProblem
throw new CustomParameterizedException("myCustomError", "hello", "world");
Can be translated with:
"error.myCustomError" : "The server says {{param0}} to {{param1}}"
| Constructor and Description |
|---|
CustomParameterizedException(String message,
Map<String,Object> paramMap) |
CustomParameterizedException(String message,
String... params) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Object> |
toParamMap(String... params) |
static Map<String,Object> |
toProblemParameters(String message,
Map<String,Object> paramMap) |
getDetail, getInstance, getParameters, getStatus, getTitle, getTypeaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceCopyright © 2019 Power TAC. All rights reserved.