protected void fireFatalConnectionError(SQLException ex){
  ConnectionEvent evt=new ConnectionEvent(this,ex);
  for (  ConnectionEventListener listener : connectionEventListeners) {
    listener.connectionErrorOccurred(evt);
  }
}

protected void fireFatalConnectionError ( SQLException ex ) { ConnectionEvent evt = new ConnectionEvent ( this , ex ) ; for ( ConnectionEventListener listener : connectionEventListeners ) { listener . connectionErrorOccurred ( evt ) ; } }
helper method to fire the connectionerroroccurred event . to be used with fatal ( connection ) errors only .
