mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
use std::exception as base class to z3_exception
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
1957b4d991
commit
92065462b4
60 changed files with 109 additions and 111 deletions
|
@ -2080,7 +2080,7 @@ bool ast_manager::check_sorts(ast const * n) const {
|
|||
return true;
|
||||
}
|
||||
catch (ast_exception & ex) {
|
||||
warning_msg("%s", ex.msg());
|
||||
warning_msg("%s", ex.what());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -74,7 +74,7 @@ namespace sat {
|
|||
}
|
||||
}
|
||||
catch (z3_exception& ex) {
|
||||
IF_VERBOSE(0, verbose_stream() << "Exception: " << ex.msg() << "\n");
|
||||
IF_VERBOSE(0, verbose_stream() << "Exception: " << ex.what() << "\n");
|
||||
throw;
|
||||
}
|
||||
m_plugin->finish_search();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue