8283848586878889909192
try { while ((i = zis.read(buff, 0, buff.length)) > 0) { byteOut.write(buff, 0, i); } } catch (IOException ioe) { sysRegistry.rollbackTransaction(); log.error(ioe); } res.setContent(byteOut.toByteArray());
101102103104105106107108109110111
} try { zipentry = zis.getNextEntry(); } catch (IOException e) { sysRegistry.rollbackTransaction(); log.error(e); } } try {
157158159160161162163164165166167
} finally { if (success) { registry.commitTransaction(); } else { registry.rollbackTransaction(); } } return confirmationBean; }
4950515253545556575859
finally { if (isSuccess) { systemRegistry.commitTransaction(); } else { systemRegistry.rollbackTransaction(); } } return uuid; } }
144145146147148149150151152153154
if (transactionStarted) { registry.commitTransaction(); } } catch (Throwable e) { if (transactionStarted) { registry.rollbackTransaction(); } log.error("Unable to set the hash value property to service group " + serviceGroupName); throw new Exception(e); }
217218219220221222223224225226227
systemRegistry.commitTransaction(); } catch (Exception e) { try { systemRegistry.rollbackTransaction(); } catch (RegistryException ex) { throw new SavanException(ex); } throw new SavanException(e); }
611612613614615616617618619620621
} catch (Exception e) { log.error(e.getMessage(), e); if (registry != null) { try { registry.rollbackTransaction(); } catch (Exception ex) { log.error(ex.getMessage(), e); } } }
802803804805806807808809810811812
registry.commitTransaction(); } catch (Exception e) { log.error(e.getMessage(), e); if (registry != null) { try { registry.rollbackTransaction(); } catch (Exception ex) { log.error(ex.getMessage(), e); } } }
887888889890891892893894895896897
10291030103110321033103410351036103710381039
} catch (Exception e) { log.error(e.getMessage(), e); if (registry != null) { try { if (transactionStarted) { registry.rollbackTransaction(); } } catch (Exception ex) { log.error(ex.getMessage(), ex); } }