private boolean isFatalState(String sqlState){
  if (sqlState == null || sqlState.length() < 2) {
    return true;
  }
  for (  String FATAL_SQL_STATE_CLASS : FATAL_SQL_STATE_CLASSES) {
    if (sqlState.startsWith(FATAL_SQL_STATE_CLASS)) {
      return true;
    }
  }
  return false;
}

private boolean isFatalState ( String sqlState ) { if ( sqlState == null || sqlState . length ( ) < 2 ) { return true ; } for ( String FATAL_SQL_STATE_CLASS : FATAL_SQL_STATE_CLASSES ) { if ( sqlState . startsWith ( FATAL_SQL_STATE_CLASS ) ) { return true ; } } return false ; }
decides if the given sql state is a fatal connection error .
