Can we use C++ exception handling in process model code?

Categories:
Solution Number:
S20688
Last Modified:
2013-08-20
Issue

Can we use C++ exception handling in process model code?

Solution

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.

Environment

DES Kernel->Process Modeling/Coding

Attachments
NOTICE: Riverbed® product names have changed. Please refer to the Product List for a complete list of product names.
Can't find an answer? Create a case