A CICS Transaction Gateway object constructs an object of the CclException class if it encounters a problem.
To deal with such a problem, subclass the CclECI or CclEPI class and provide your own implementation of the handleException method. See Handling Exceptions. This method has access to the methods of the CclException object and can be coded to take whatever action is necessary. For example, it can stop the program or display a dialog box.
Alternatively, you can use a C++ try…catch block to handle exceptions.
A CclException object cannot be assigned and its constructors are intended for use by the CICS Transaction Gateway class implementation only.