public void completed () throws WrongStateException, UnknownTransactionException, SystemException
{
try
{
if (_hier == null)
throw new UnknownTransactionException();
_coordManager.resume(_hier);
_coordManager.participantCompleted(_participantId);
_coordManager.suspend();
}
catch (com.arjuna.mw.wsas.exceptions.NoActivityException ex)
{
throw new UnknownTransactionException();
}
catch (com.arjuna.mw.wscf.exceptions.InvalidParticipantException ex)
{
throw new SystemException("UnknownParticipantException");
}
catch (com.arjuna.mw.wsas.exceptions.WrongStateException ex)
{
throw new WrongStateException();
}
catch (com.arjuna.mw.wsas.exceptions.InvalidActivityException ex)
{
throw new UnknownTransactionException();
}
catch (com.arjuna.mw.wsas.exceptions.SystemException ex)
{
throw new SystemException(ex.toString());
}