if( log.isDebugEnabled() ) log.debug( "Checking transitions from " + currentState.getName() );
    public boolean checkTransitions( ProcessContext context )        throws ActivityException, InvalidMotionException    {        boolean transitioned = false;        OUTTER:          while( true )          {              State currentState = context.getCurrentState();              if( currentState == null )              {                  break OUTTER;              }              List trans = currentState.getTransitions();              Iterator transIter = trans.iterator();              Transition eachTrans = null;              INNER:                while( transIter.hasNext() )                {                    eachTrans = (Transition)transIter.next();                    if( eachTrans.testGuard( context ) )                    {                        followTransition( context,                                          eachTrans );                        transitioned = true;                        continue OUTTER;                    }                }              break OUTTER;          }        return transitioned;    }