class ConvertUtils {

  public static void validateIsHexString(String input) {
    if (input == null) {
      throw new IllegalArgumentException("Null is not a valid hex");
    }
    if (!isHexString(input)) {
      throw new IllegalArgumentException(input + " is not a valid hex");
    }
  }

  private  ConvertUtils();

}