question: public void connectionErrorOccurred ( ConnectionEvent event ) { if ( isActive ) { try { PooledConnection conn = ( PooledConnection ) event . getSource ( ) ; provider . returnAndExpireConnection ( conn ) ; } catch ( Exception ex ) { String exception = "GemFireConnPooledDataSource::connectionErrorOccured:error in returning and expiring connection due to " + ex ; if ( logger . isDebugEnabled ( ) ) { logger . debug ( exception , ex ) ; } } } }
target:  Implementation of call back function from ConnectionEventListener interface. This callback will be invoked on connection error event.