Chemical Descriptors Library: Error Handling
Error Handling

CDL base exception is called "cdl_exception" which inherits from std::exception.

The library throws exceptions where a fatal error is encountered. No exception is catched in library code.

There are two types of domain errors (the two inherit from cdl_exception):

  1. parsing_error
  2. calculation_error
The list of specific exceptions are:

  1. parsing_error :

  2. calculation_error :

  3. General Exceptions (inherit from cdl_exception) :

Copyright © Vladimir Sykora & Cyprotex Ltd 2006 Logo