code: public static void requireArgValid(@NotNull final String name, @FileExists @NotNull final File value)
              throws ConstraintViolationException {
          // CHECKSTYLE:ON
          if (!value.isDirectory()) {
              throw new ConstraintViolationException("The argument '" + name + "' is not a directory: '" + value + "'");
          }
      }
docs: CHECKSTYLE:OFF:RedundantThrows