code: @Override
      public Response toResponse(final ConstraintViolationException exception) {
          logger.trace(LocalizationMessages.CONSTRAINT_VIOLATIONS_ENCOUNTERED(), exception);
          Response.Status status = ValidationHelper.getResponseStatus(exception);
          ErrorMessage errorMessage = ErrorMessage.fromStatus(status.getStatusCode());
          errorMessage.setThrowable(exception);
          errorMessage.setCode(Hashing.murmur3_32().hashUnencodedChars(exception.getClass().getName()).toString());
  
          List<Result.Error> errors = ValidationHelper.constraintViolationToValidationErrors(exception);
  
          errorMessage.setErrors(errors);
  
          return Response.status(status)
                  .entity(errorMessage)
                  .type(ExceptionMapperUtils.getResponseType())
                  .build();
      }
docs: {@inheritDoc}