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
public Class<EntityAlreadyExistsException> getThrowableClass()
public ResponseWithErrorCode toResponse(Throwable throwable)
@Nullable public LogLevel getLogLevel(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 © 2017 SAP SE. All rights reserved.