/** * close the activity * @return * @throws SystemException */ public int close () throws SystemException { // we need to make sure all coordinator completion aprticipants ahve completed try { complete(); } catch (Exception e) { // carry on as end will catch any further problems } // now call end(). if any of the participant completion participants are not // completed they will throw a WrongStateException during prepare leading to rollback return end(true); }
/** * close the activity * @return * @throws SystemException */ public int close () throws SystemException { // we need to make sure all coordinator completion aprticipants ahve completed try { complete(); } catch (Exception e) { // carry on as end will catch any further problems } // now call end(). if any of the participant completion participants are not // completed they will throw a WrongStateException during prepare leading to rollback return end(true); }