if (!commit)
throw new TransactionCommittedException();
}
break;
case TwoPhaseResult.HEURISTIC_MIXED:
throw new HeuristicMixedException();
case TwoPhaseResult.HEURISTIC_HAZARD:
throw new HeuristicHazardException();
case TwoPhaseResult.FINISH_OK:
break;
case TwoPhaseResult.FINISH_ERROR: