{
throw new UnknownTransactionException();
}
catch (com.arjuna.mw.wsas.exceptions.WrongStateException ex)
{
throw new SystemException(ex.toString());
}
catch (com.arjuna.mw.wsas.exceptions.ProtocolViolationException ex)
{
// throw new HeuristicHazardException();
throw new SystemException(ex.toString());
}
catch (com.arjuna.mw.wscf.exceptions.NoCoordinatorException ex)
{
throw new UnknownTransactionException();
}
catch (com.arjuna.mw.wscf.model.twophase.exceptions.CoordinatorCancelledException ex)
{
throw new TransactionRolledBackException();
}
catch (com.arjuna.mw.wscf.model.twophase.exceptions.HeuristicMixedException ex)
{
// throw new HeuristicMixedException();
throw new SystemException(ex.toString());
}
catch (com.arjuna.mw.wscf.model.twophase.exceptions.HeuristicHazardException ex)
{
// throw new HeuristicHazardException();
throw new SystemException(ex.toString());
}
catch (com.arjuna.mw.wsas.exceptions.NoPermissionException ex)
{
throw new SystemException(ex.toString());
}
catch (com.arjuna.mw.wsas.exceptions.SystemException ex)
{
throw new SystemException(ex.toString());
}
finally
{
if (deactivate)
CompletionCoordinatorProcessor.getProcessor().deactivateParticipant(this);