}
catch (InvalidActivityException ex)
{
_status = Completed.instance();
throw new WrongStateException(ex.toString());
}
if (_timeout > 0)
{
if (!ActivityReaper.activityReaper(true).insert(this, _timeout))
{
setCompletionStatus(FailureOnly.instance());
}
}
_status = Active.instance();
}
else
throw new WrongStateException(
wsasLogger.log_mesg.getString("com.arjuna.mwlabs.wsas.activity.ActivityImple_1")
+ " " + this + " " + _status);
}
}