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