Apama 10.5.3 | Developing Apama Applications | Developing Apama Applications in EPL | Testing and Tuning EPL monitors | Handling runtime errors | What happens
 
What happens
When the correlator detects a runtime error, an exception is raised. If that is not caught by a catch block, the correlator kills the monitor instance that contains the code that caused the error. This protects the other monitor instances that are running in the same correlator. Upon an unhandled runtime error, the correlator also terminates any listeners that were set up by the monitor instance being killed, and the state of the killed monitor is lost.