what about this case?

+1 vote
asked Aug 28, 2015 in Wanted features by anonymous
@startuml
 
start
 
partition "GetRequestAction" {
  :get action name (GetActionName);
  if (action name empty?) then (no)
    :find action;
    if (action found?) then (no)
      if (DefActionWhenUnknown set?) then (yes)
        :get default action;
        if (default action found?) then (no)
          :raise exception;
          stop
        endif
      else (no)
        :raise exception;
        stop
      endif
    endif
  else (yes)
    :get default action;
    if (default action found?) then (no)
      :raise exception;
      stop
    endif
  endif
}
 
if (action found?) then (yes)
  :set current action;
  :call request handler;
endif
 
stop
 
@enduml 
 
There are 3
 
:raise exception;
stop
 

which should be better merged as one

1 Answer

0 votes
answered Jul 3 by NeVraX (270 points)
...