code: @SafeVarargs
      protected final void failOnValidationError(final Set<ConstraintViolation<Object>>... violationsArray) {
          final List<ValidationError> errors = contOnValidationError(violationsArray);
          if (! Collections.isEmpty(errors)) {
              throw new BadRequestException(Response.status(Response.Status.BAD_REQUEST).entity(errors).build());
          }
      }
docs: Wrapper around {@link #contOnValidationError(Set[])} but instead of returning
  a list of errors, this method will halt processing of the request by throwing
  a BadRequestException, setting the HTTP status to 400 (BAD REQUEST) and providing
  a full list of validation errors in the body of the response.
  
  Usage:
  <pre>
  Validator validator = getValidator();
  failOnValidationError(
  validator.validateProperty(myObject, "uuid"),
  validator.validateProperty(myObject, "name")
  );
  // If validation fails, this line will not be reached.
  </pre>
  
  @param violationsArray a Set of one or more ConstraintViolations
  @since 1.0.0