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):
- parsing_error
- calculation_error
The list of specific exceptions are:
- parsing_error :
- smile_parser_error
- mol_parsing_error
- nail_parsing_error
- juice_parsing_error
- smarts_parsing_error
- calculation_error :
- General Exceptions (inherit from cdl_exception) :
- smile_canonizer_error
- nailgrow_error
- redmol_error
Copyright © Vladimir Sykora & Cyprotex Ltd 2006