docs: public void fireStatementErrorOccured(Statement st, SQLException ex) {
      if (st instanceof PreparedStatement) {
        StatementEvent event = new StatementEvent(this, (PreparedStatement) st, ex);
        for (StatementEventListener listener : statementEventListeners) {
          listener.statementErrorOccurred(event);
        }
      }
    }