mirror of
https://github.com/Z3Prover/z3
synced 2025-08-09 20:50:50 +00:00
use a base iz3_exception class for exceptions raised during interpolation
Using a base exception class, derived from z3_exception, makes it possible to recover gracefully if something goes wrong during the computation of interpolants.
This commit is contained in:
parent
af444beb2e
commit
8e772b428b
13 changed files with 109 additions and 57 deletions
|
@ -25,7 +25,8 @@
|
|||
/** Exception thrown in case of mal-formed tree interpoloation
|
||||
specification */
|
||||
|
||||
struct iz3pp_bad_tree {
|
||||
struct iz3pp_bad_tree: public iz3_exception {
|
||||
iz3pp_bad_tree(): iz3_exception("iz3pp_bad_tree") {}
|
||||
};
|
||||
|
||||
void iz3pp(ast_manager &m,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue