public void close () throws TransactionRolledBackException, UnknownTransactionException, SystemException
{
try
{
if (_hier == null)
throw new UnknownTransactionException();
_coordManager.resume(_hier);
_coordManager.close();
}
catch (com.arjuna.mw.wsas.exceptions.InvalidActivityException ex)
{
throw new UnknownTransactionException();
}
catch (com.arjuna.mw.wsas.exceptions.ProtocolViolationException ex)
{
throw new SystemException(ex.toString());
}
catch (com.arjuna.mw.wscf.model.sagas.exceptions.CoordinatorCancelledException ex)
{
throw new TransactionRolledBackException();
}
catch (com.arjuna.mw.wscf.exceptions.NoCoordinatorException ex)
{
throw new UnknownTransactionException();
}
catch (com.arjuna.mw.wsas.exceptions.WrongStateException ex)
{
throw new SystemException(ex.toString());
}