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