code: public State signal(String name) throws UnknownTransitionException {
          Transition t = find(name);
          if (t != null) {
              return t.process(this);
          }
          throw new UnknownTransitionException(name);
      }
docs: Signals to leave this state over specified transition
  
  @param name the name of the transition.