public void beforeCompletion() throws XAException { final Transaction transaction = this.transaction; if (! (transaction instanceof ImportedTransaction)) { throw Log.log.notImportedXa(XAException.XAER_NOTA); } final ImportedTransaction importedTransaction = (ImportedTransaction) transaction; try { if (! importedTransaction.doBeforeCompletion()) { throw new XAException(XAException.XAER_RMERR); } } catch (IllegalStateException e) { throw Log.log.illegalStateXa(XAException.XAER_NOTA, e); } catch (Throwable /* RuntimeException | SystemException */ e) { throw Log.log.resourceManagerErrorXa(XAException.XAER_RMERR, e); } }
public void beforeCompletion() throws XAException { final Transaction transaction = this.transaction; if (! (transaction instanceof ImportedTransaction)) { throw Log.log.notImportedXa(XAException.XAER_NOTA); } final ImportedTransaction importedTransaction = (ImportedTransaction) transaction; try { if (! importedTransaction.doBeforeCompletion()) { throw new XAException(XAException.XAER_RMERR); } } catch (IllegalStateException e) { throw Log.log.illegalStateXa(XAException.XAER_NOTA, e); } catch (Throwable /* RuntimeException | SystemException */ e) { throw Log.log.resourceManagerErrorXa(XAException.XAER_RMERR, e); } }
public void beforeCompletion() throws XAException { final Transaction transaction = this.transaction; if (! (transaction instanceof ImportedTransaction)) { throw Log.log.notImportedXa(XAException.XAER_NOTA); } final ImportedTransaction importedTransaction = (ImportedTransaction) transaction; try { if (! importedTransaction.doBeforeCompletion()) { throw new XAException(XAException.XAER_RMERR); } } catch (IllegalStateException e) { throw Log.log.illegalStateXa(XAException.XAER_NOTA, e); } catch (Throwable /* RuntimeException | SystemException */ e) { throw Log.log.resourceManagerErrorXa(XAException.XAER_RMERR, e); } }