code: public static Locale parseArg(@NotNull final String name, @NotNull final String value) throws ConstraintViolationException {
          // CHECKSTYLE:ON
  
          try {
              final Locale locale = LocaleConverter.asLocale(value);
              if (!LocaleConverter.validLocale(locale)) {
                  throw new ConstraintViolationException("The argument '" + name + "' is not valid: '" + value + "'");
              }
              return locale;
          } catch (final RuntimeException ex) {
              throw new ConstraintViolationException("The argument '" + name + "' is not valid: '" + value + "'");
          }
  
      }
docs: CHECKSTYLE:OFF:RedundantThrows