T his chapter describes how catch and handle errors which can be reported by IS API.
The IS public API functions throw exceptions in case of errors. Each public function has a list of possible exceptions in its declaration. An application which is calling such function is responsible for surrounding the call by the try {...} catch {...} directives to catch all possible exceptions. All IS exceptions has common ancestor so a developer has a choice of handling each exception individually of using a single catch statement for one of the basic exceptions if all of the specific ones can be handled in the same way.
2 July 1998 - WebMaster | Copyright © CERN 1998 |