code: public void statementErrorOccurred(StatementEvent event) {
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.entry(this, tc, "statementErrorOccurred",
                        "Notification of a fatal statement error received from the JDBC driver",
                        AdapterUtil.toString(event.getSource()),
                        AdapterUtil.toString(event.getStatement()),
                        event.getSQLException()
                              );
  
          for (int i = 0; i < numHandlesInUse; i++)
              ((WSJdbcConnection) handlesInUse[i]).setPoolableFlag(event.getStatement(), false);
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.exit(this, tc, "statementErrorOccurred");
      }
docs: Invoked by the JDBC driver when a fatal statement error occurs.
  
  @param event a data structure containing information about the event.