Can we use C++ exception handling in process model code?
Can we use C++ exception handling in process model code?
Yes. You can use C++ exceptions in your process model code, as long as the exceptions are caught by your process model code or some associated function (i.e. not thrown into Simulation Kernel). In other words, every exception that is thrown must be caught by a catch block which resides higher up in the function call stack compared to where the exception is thrown.
DES Kernel->Process Modeling/Coding