Apama 10.15.0 | Developing Apama Applications | Developing EPL Plug-ins | Writing EPL Plug-ins in Python | Creating a plug-in using Python | Exceptions
 
Exceptions
Plug-ins can raise exceptions from plug-in methods. They must be derived from exceptions.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 statement. See also The try ... catch statement.
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.