Developing Apama Applications > Developing Apama Applications in Java > Defining Event Expressions > Validation of event expressions
Validation of event expressions
When an EventExpression or PreparedEventExpressionTemplate is created or when addMatchListener() is called on an event expression within a Java monitor the event expression is not validated immediately. It is queued for processing later when the Java monitor yields control back to the correlator. This means that a badly formed event expression does not cause an exception to be thrown from the constructor. Instead, the correlator logs an error message later when it tries to validate the event expression.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.