code: public static void requireArgValid(@NotNull final String name, @NotNull final String value) throws ConstraintViolationException {
          // CHECKSTYLE:ON
          final String trimmedValue = value.trim();
          if (!isValid(trimmedValue)) {
              throw new ConstraintViolationException("The argument '" + name + "' is not valid: '" + trimmedValue + "'");
          }
      }
docs: CHECKSTYLE:OFF:RedundantThrows