code: public static void requireArgMaxLength(@NotNull final String name, @NotNull final String value, final int max)
              throws ConstraintViolationException {
          // CHECKSTYLE:ON
          if (value.length() > max) {
              throw new ConstraintViolationException("Max length of argument '" + name + "' is " + max + ", but was: " + value.length());
          }
      }
docs: CHECKSTYLE:OFF:RedundantThrows