Add fallback exception mapper

This commit is contained in:
René Pfeuffer
2018-11-02 17:12:49 +01:00
parent ee88cea1ea
commit 9a1878f3e8
3 changed files with 45 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ public class ContextualExceptionMapper<E extends ExceptionWithContext> implement
private static final Logger logger = LoggerFactory.getLogger(ContextualExceptionMapper.class);
private ExceptionWithContextToErrorDtoMapper mapper;
private final ExceptionWithContextToErrorDtoMapper mapper;
private final Response.Status status;
private final Class<E> type;