@Override
  protected boolean connectorIsTransientException(Throwable e)
  {
    if (e instanceof SQLException) {
      final String sqlState = ((SQLException) e).getSQLState();
      if (sqlState == null) {
        return false;
      }

      final String sqlClassCode = sqlState.substring(0, 2);
      if (TRANSIENT_SQL_CLASS_CODES.contains(sqlClassCode)) {
        return true;
      }
    }
    return false;
  }
@ Override protected boolean connectorIsTransientException ( Throwable e ) { if ( e instanceof SQLException ) { final String sqlState = ( ( SQLException ) e ) . getSQLState ( ) ; if ( sqlState == null ) { return false ; } final String sqlClassCode = sqlState . substring ( 0 , 2 ) ; if ( TRANSIENT_SQL_CLASS_CODES . contains ( sqlClassCode ) ) { return true ; } } return false ; }
{@inheritDoc}

@see SQLException#getSQLState()