Apama 10.15.5 | Developing Apama Applications | Developing EPL Plug-ins | Writing EPL Plug-ins in C++ | Creating a plug-in using C++ | Exceptions
 
Exceptions
Plug-ins can throw exceptions from plug-in methods. They must be derived from std::exception as normal.
If a plug-in throws an exception, this will be turned into an exception in EPL which may be caught with the EPL try { } catch syntax.
If you do not catch the exception, then the calling monitor instance will be terminated with the message in the exception thrown from the plug-in.