Modifier and Type | Field and Description |
---|---|
protected IdentityHashMap<Class<?>,ResponseMapper<?>> |
ErrorResponseBuilder.responseMappers |
Modifier and Type | Method and Description |
---|---|
ErrorResponseBuilder |
ErrorResponseBuilder.withMapper(ResponseMapper<?> responseMapper)
Use the given
ResponseMapper for building the error response. |
<ThrowableT extends Throwable> |
AbstractExceptionMapper.withMapper(ResponseMapper<ThrowableT> mapper)
Adds the given
ResponseMapper for the Throwable specified insider the mapper. |
<ThrowableT extends Throwable & WithErrorResponse> |
AbstractExceptionMapper.withMapper(ResponseMapper<ThrowableT> responseMapper,
LogLevel logLevel)
Adds the given
ResponseMapper for the Throwable specified insider the mapper. |
<ThrowableT extends Throwable & WithErrorResponse> |
ErrorResponseBuilder.withMapper(ResponseMapper<ThrowableT> responseMapper,
LogLevel logLevel)
Use the given
ResponseMapper for building the error response. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractResponseMapper<T extends Throwable> |
class |
ConstraintViolationExceptionMapper |
class |
EntityAlreadyExistsExceptionMapper |
class |
EntityNotFoundExceptionMapper |
class |
IllegalArgumentExceptionMapper |
class |
JsonSyntaxExceptionMapper |
class |
NumberFormatExceptionMapper |
class |
PropertyBindingExceptionMapper |
class |
StringParsingExceptionMapper |
class |
TimeoutExceptionMapper |
class |
UnsupportedOperationExceptionMapper |
Modifier and Type | Class and Description |
---|---|
class |
NotFoundExceptionMapper |
class |
WebApplicationExceptionMapper |
Copyright © 2019 SAP SE. All rights reserved.