public void cannotComplete() throws TXControlRuntimeException { try { baParticipantManagerThreadLocal.get().cannotComplete(); cannotCompleteThreadLocal.set(true); } catch (Exception e) { throw new TXControlRuntimeException("Exception when calling 'cannotComplete' on participant manager", e); } }
/** * Executing the cannot complete transition. * * @throws com.arjuna.webservices.SoapFault for SOAP errors. * @throws java.io.IOException for transport errors. * */ private void executeCannotComplete() { try { coordinator.cannotComplete() ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator cannotComplete", th) ; } return ; } sendNotCompleted() ; ended() ; }
/** * Executing the cannot complete transition. * * @throws com.arjuna.webservices.SoapFault for SOAP errors. * @throws java.io.IOException for transport errors. * */ private void executeCannotComplete() { try { coordinator.cannotComplete() ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator cannotComplete", th) ; } return ; } sendNotCompleted() ; ended() ; }
/** * Executing the cannot complete transition. * * @throws SoapFault for SOAP errors. * */ private void executeCannotComplete() { try { coordinator.cannotComplete() ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator error", th) ; } return ; } sendNotCompleted() ; ended() ; } /**
/** * Executing the cannot complete transition. * * @throws SoapFault for SOAP errors. * */ private void executeCannotComplete() { try { coordinator.cannotComplete() ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator error", th) ; } return ; } sendNotCompleted() ; ended() ; } /**
/** * Executing the cannot complete transition. * * @throws SoapFault for SOAP errors. * */ private void executeCannotComplete() { try { coordinator.cannotComplete() ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator error", th) ; } return ; } sendNotCompleted() ; ended() ; } /**
/** * Executing the cannot complete transition. * * @throws com.arjuna.webservices.SoapFault for SOAP errors. * @throws java.io.IOException for transport errors. * */ private void executeCannotComplete() { try { coordinator.cannotComplete() ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator cannotComplete", th) ; } return ; } sendNotCompleted() ; ended() ; }
@Override public void notifyFailure() throws TXFrameworkException { try { participantManager.cannotComplete(); } catch (WrongStateException e) { throw new TXFrameworkException("Error notifying cannotComplete on participant manager.", e); } catch (UnknownTransactionException e) { throw new TXFrameworkException("Error notifying cannotComplete on participant manager.", e); } catch (SystemException e) { throw new TXFrameworkException("Error notifying cannotComplete on participant manager.", e); } Participant.suspend(); WSBATxControlImpl.suspend(); }