private static boolean isBkErrorNotRecoverable(int rc){
switch (rc) {
case Code.NoSuchLedgerExistsException:
case Code.ReadException:
case Code.LedgerRecoveryException:
    return true;
default :
  return false;
}
}

private static boolean isBkErrorNotRecoverable ( int rc ) { switch ( rc ) { case Code . NoSuchLedgerExistsException : case Code . ReadException : case Code . LedgerRecoveryException : return true ; default : return false ; } }
return bk error codes that are considered not likely to be recoverable
