public class EntityNotFoundExceptionMapper extends AbstractResponseMapper<EntityNotFoundException>
| Constructor and Description |
|---|
EntityNotFoundExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
LogLevel |
getLogLevel(Throwable throwable) |
Class<EntityNotFoundException> |
getThrowableClass() |
ResponseWithErrorCode |
toResponse(Throwable throwable) |
getErrorMessage@Nonnull public Class<EntityNotFoundException> getThrowableClass()
@Nonnull public ResponseWithErrorCode toResponse(@Nonnull Throwable throwable)
@Nullable public LogLevel getLogLevel(@Nonnull Throwable throwable)
getLogLevel in interface ResponseMapper<EntityNotFoundException>getLogLevel in class AbstractResponseMapper<EntityNotFoundException>Throwable. Returning null indicates the response
builder to use its default behavior.Copyright © 2022 SAP SE. All rights reserved.