code: protected void validateSqlString(String originalSql) {
          if (originalSql == null) {
              throw new IllegalArgumentException(ERROR_SQL_QUERY_NULL);
          }
          if (processor.hasUnnamedParameters(originalSql) == true) {
              throw new IllegalArgumentException(ERROR_FOUND_UNNAMED_PARAMETER);
          }
      }
docs: Checks if original SQL string valid.
  If string contains some unnamed "?" parameters - it is considered unvalid
  
  @param originalSql Original SQL String