public void registerInterposedSynchronization(Synchronization synchronization) { if (jtaLogger.logger.isTraceEnabled()) { jtaLogger.logger.trace("TransactionSynchronizationRegistryImple.registerInterposedSynchronization - Class: " + synchronization.getClass() + " HashCode: " + synchronization.hashCode() + " toString: " + synchronization); } TransactionImple transactionImple = getTransactionImple(); try { transactionImple.registerSynchronizationImple(new SynchronizationImple(synchronization, true)); } catch (RollbackException e) { throw new com.arjuna.ats.jta.exceptions.RollbackException(jtaLogger.i18NLogger.get_transaction_arjunacore_syncrollbackexception(), e); } catch (SystemException e) { throw new RuntimeException(jtaLogger.i18NLogger.get_transaction_arjunacore_systemexception(), e); } }
public void registerInterposedSynchronization(Synchronization synchronization) { if (jtaLogger.logger.isTraceEnabled()) { jtaLogger.logger.trace("TransactionSynchronizationRegistryImple.registerInterposedSynchronization - Class: " + synchronization.getClass() + " HashCode: " + synchronization.hashCode() + " toString: " + synchronization); } TransactionImple transactionImple = getTransactionImple(); try { transactionImple.registerSynchronizationImple(new SynchronizationImple(synchronization, true)); } catch (RollbackException e) { throw new com.arjuna.ats.jta.exceptions.RollbackException(jtaLogger.i18NLogger.get_transaction_arjunacore_syncrollbackexception(), e); } catch (SystemException e) { throw new RuntimeException(jtaLogger.i18NLogger.get_transaction_arjunacore_systemexception(), e); } }
public void registerInterposedSynchronization(Synchronization synchronization) { if (jtaxLogger.logger.isTraceEnabled()) { jtaxLogger.logger.trace("TransactionSynchronizationRegistryImple.registerInterposedSynchronization - Class: " + synchronization.getClass() + " HashCode: " + synchronization.hashCode() + " toString: " + synchronization); } TransactionImple transactionImple = getTransactionImple(); try { transactionImple.registerSynchronizationImple(new JTAInterposedSynchronizationImple(synchronization)); } catch (RollbackException e) { throw new com.arjuna.ats.jta.exceptions.RollbackException(jtaxLogger.i18NLogger.get_jtax_transaction_jts_syncrollbackexception(), e); } catch (SystemException e) { throw new RuntimeException(jtaxLogger.i18NLogger.get_jtax_transaction_jts_systemexception(), e); } }
public void registerInterposedSynchronization(Synchronization synchronization) { if (jtaLogger.logger.isTraceEnabled()) { jtaLogger.logger.trace("TransactionSynchronizationRegistryImple.registerInterposedSynchronization - Class: " + synchronization.getClass() + " HashCode: " + synchronization.hashCode() + " toString: " + synchronization); } TransactionImple transactionImple = getTransactionImple(); try { transactionImple.registerSynchronizationImple(new SynchronizationImple(synchronization, true)); } catch (RollbackException e) { throw new com.arjuna.ats.jta.exceptions.RollbackException(jtaLogger.i18NLogger.get_transaction_arjunacore_syncrollbackexception(), e); } catch (SystemException e) { throw new RuntimeException(jtaLogger.i18NLogger.get_transaction_arjunacore_systemexception(), e); } }
public void registerInterposedSynchronization(Synchronization synchronization) { if (jtaLogger.logger.isTraceEnabled()) { jtaLogger.logger.trace("TransactionSynchronizationRegistryImple.registerInterposedSynchronization - Class: " + synchronization.getClass() + " HashCode: " + synchronization.hashCode() + " toString: " + synchronization); } TransactionImple transactionImple = getTransactionImple(); try { transactionImple.registerSynchronizationImple(new SynchronizationImple(synchronization, true)); } catch (RollbackException e) { throw new com.arjuna.ats.jta.exceptions.RollbackException(jtaLogger.i18NLogger.get_transaction_arjunacore_syncrollbackexception(), e); } catch (SystemException e) { throw new RuntimeException(jtaLogger.i18NLogger.get_transaction_arjunacore_systemexception(), e); } }
public void registerInterposedSynchronization(Synchronization synchronization) { if (jtaLogger.logger.isTraceEnabled()) { jtaLogger.logger.trace("TransactionSynchronizationRegistryImple.registerInterposedSynchronization"); } TransactionImple transactionImple = getTransactionImple(); try { transactionImple.registerSynchronizationImple(new SynchronizationImple(synchronization, true)); } catch (RollbackException e) { throw new com.arjuna.ats.jta.exceptions.RollbackException(jtaLogger.i18NLogger.get_transaction_arjunacore_syncrollbackexception(), e); } catch (SystemException e) { throw new RuntimeException(jtaLogger.i18NLogger.get_transaction_arjunacore_systemexception(), e); } }
public void registerInterposedSynchronization(Synchronization synchronization) { if (jtaLogger.logger.isTraceEnabled()) { jtaLogger.logger.trace("TransactionSynchronizationRegistryImple.registerInterposedSynchronization"); } TransactionImple transactionImple = getTransactionImple(); try { transactionImple.registerSynchronizationImple(new SynchronizationImple(synchronization, true)); } catch (RollbackException e) { throw new com.arjuna.ats.jta.exceptions.RollbackException(jtaLogger.i18NLogger.get_transaction_arjunacore_syncrollbackexception(), e); } catch (SystemException e) { throw new RuntimeException(jtaLogger.i18NLogger.get_transaction_arjunacore_systemexception(), e); } }
@Test public void test () throws Exception { InactiveTransactionException ex = new InactiveTransactionException(); ex = new InactiveTransactionException("foobar"); NotImplementedException exp = new NotImplementedException(); exp = new NotImplementedException("foobar"); exp = new NotImplementedException("foobar", new NullPointerException()); exp = new NotImplementedException(new NullPointerException()); RollbackException exp2 = new RollbackException(); exp2 = new RollbackException("foobar"); exp2 = new RollbackException("foobar", new NullPointerException()); exp2 = new RollbackException(new NullPointerException()); UnexpectedConditionException ex2 = new UnexpectedConditionException(); ex2 = new UnexpectedConditionException("foobar"); }