149150151152153154155156157158159
asynClient.SubmitOrderTrasactedQueue(order); orderDAO.commitTransaction(); return order; } catch (Exception e) { try { orderDAO.rollbackTransaction(); } catch (DAOException e2) { throw e2; } throw new RuntimeException(e); }
172173174175176177178179180181182
asynClient.SubmitOrder(order); orderDAO.commitTransaction(); return order; } catch (Exception e) { try { orderDAO.rollbackTransaction(); } catch (DAOException e2) { throw e2; } logger.error(e); throw new RuntimeException(e);
154155156157158159160161162163164