You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sems/doc/dsm/examples/test_exception.dsm

16 lines
377 B

initial state START;
transition "got to lobby" START - sessionStart -> lobby;
state lobby
enter {
playFile(wav/default_en.wav);
throw(bla,blub=blu;i=somevalue);
};
transition "thrown error" lobby - exception; test(#blub=="blu"); /
log(1, #i); stop(true) -> end;
transition "file error" lobby - exception; test(#type="file") / stop(true) -> end;