Apama 10.3 | Apama Documentation | Connecting Apama Applications to External Components | Developing Custom Clients | The Client Software Development Kits | Exception handling and thread safety
Exception handling and thread safety
Exception handling
Several of the methods and functions of the API can throw exceptions if they fail or encounter exceptional circumstances. All of these are of the following type:
*com::apama::EngineException in C++
*com.apama.EngineException in Java
*Apama.EngineException in .NET
An exception contains a text message indicating the nature of the problem encountered.
Thread safety
All client APIs are thread-safe, unless otherwise specified, in the sense that you can call API methods from any thread. Several background threads are created during the usage of a client API. Events received from a correlator will be handled in one of background threads, so you cannot assume that events will be delivered to you on any particular thread.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.