mirror of
https://github.com/Z3Prover/z3
synced 2025-09-01 07:40:41 +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
|
@ -243,12 +243,12 @@ public:
|
|||
}
|
||||
catch (sat::solver_exception & ex) {
|
||||
proc.m_solver->collect_statistics(m_stats);
|
||||
throw tactic_exception(ex.msg());
|
||||
throw tactic_exception(ex.what());
|
||||
}
|
||||
catch (z3_exception& ex) {
|
||||
(void)ex;
|
||||
proc.m_solver->collect_statistics(m_stats);
|
||||
TRACE("sat", tout << ex.msg() << "\n";);
|
||||
TRACE("sat", tout << ex.what() << "\n";);
|
||||
throw;
|
||||
}
|
||||
TRACE("sat_stats", m_stats.display_smt2(tout););
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue