Modeling plays an important role during design and development of systems and processes. Petri nets allow for well-defined models that can be executed. For the implementation of these systems, however, still normal programming languages are used. In contrast, modeling languages – also if executable, such as Petri net formalisms – are not deemed fit for implementation. Besides the pragmatic power, one thing that modern programming languages offer and which Petri net formalisms are missing, is exception handling. In this paper we present an approach that includes exception handling for Java reference nets. Our goal is to make the designed systems more robust and reliable. As a consequence, such executable models can be cleanly integrated into real execution environments. Our approach provides the information of an exception being thrown to the level of modeling. We are thus able to model the exception handling explicitly within the model as it is done in many modern programming languages. This extension is conservative and does not alter the normal behavior of the model, leaving the Petri net semantics untouched. We discuss several possible extensions to our approach with respect to the modeling possibilities, the ease of implementation and their pragmatic usefulness.
[1]
Dietmar Jannach,et al.
Exception Handling in Web Service Processes
,
2008,
The Evolution of Conceptual Modeling.
[2]
Søren Christensen,et al.
Coloured Petri Nets Extended with Place Capacities, Test Arcs and Inhibitor Arcs
,
1992
.
[3]
Christos T. Karamanolis,et al.
Elements of distributed algorithms-modeling and analysis with petri nets Wolfgang Reisig [Book review]
,
1999,
IEE Proceedings - Software.
[4]
Wagner Luiz Alves de Oliveira,et al.
Exception handling with Petri net for digital systems
,
2002,
Proceedings. 15th Symposium on Integrated Circuits and Systems Design.
[5]
Marian Adamski,et al.
Exceptions Handling in Hierarchical Petri Net Based Specification for Logic Controllers
,
2011,
2011 21st International Conference on Systems Engineering.
[6]
Lawrence Cabac,et al.
Renew - The Reference Net Workshop
,
2015,
PNSE @ Petri Nets.
[7]
Qing Li,et al.
Unified Modeling Language
,
2009
.
[8]
Michael J. Adams,et al.
Facilitating dynamic flexibility and exception handling for workflows
,
2007
.