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