/** * Check if plan is already aborted. */ protected void testBodyAborted(RPlan rplan) { // Throw error to exit body method of aborted plan. if(rplan!=null && rplan.aborted && rplan.getLifecycleState()==PlanLifecycleState.BODY) { // System.out.println("aborting after block: "+rplan); throw new BodyAborted(); } }
/** * Check if plan is already aborted. */ protected void testBodyAborted(RPlan rplan) { // Throw error to exit body method of aborted plan. if(rplan!=null && rplan.isFinishing() && rplan.getLifecycleState()==PlanLifecycleState.BODY) { // System.out.println("aborting after block: "+rplan); throw new BodyAborted(); } }
/** * Check if plan is already aborted. */ protected void testBodyAborted(RPlan rplan) { // Throw error to exit body method of aborted plan. if(rplan!=null && rplan.isFinishing() && rplan.getLifecycleState()==PlanLifecycleState.BODY) { // System.out.println("aborting after block: "+rplan); throw new BodyAborted(); } }
BodyAborted ba = new BodyAborted();