guava/src/com/google/common/base/Verify.java
public static void verify(boolean expression, @Nullable String errorMessageTemplate, char p1) {
    if (!expression) {
      throw new VerifyException(lenientFormat(errorMessageTemplate, p1));
    }
  }
public static void verify(boolean expression, @Nullable String errorMessageTemplate, char p1) {
    if (!expression) {
      throw new VerifyException(lenientFormat(errorMessageTemplate, p1));
    }
  }
public static void verify ( boolean expression , @ Nullable String errorMessageTemplate , char p1 ) { if ( ! expression ) { throw new VerifyException ( lenientFormat ( errorMessageTemplate , p1 ) ) ; } }
Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with a
custom message otherwise.

<p>See {@link #verify(boolean, String, Object...)} for details.

@since 23.1 (varargs overload since 17.0)
Ensures that { @code expression } is { @code true } throwing a { @code VerifyException } with a custom message otherwise .