mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 16:38:45 +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
|
@ -227,8 +227,8 @@ public:
|
|||
}
|
||||
catch (z3_exception & ex) {
|
||||
result->set_status(l_undef);
|
||||
result->m_unknown = ex.msg();
|
||||
ctx.regular_stream() << "(error \"tactic failed: " << ex.msg() << "\")" << std::endl;
|
||||
result->m_unknown = ex.what();
|
||||
ctx.regular_stream() << "(error \"tactic failed: " << ex.what() << "\")" << std::endl;
|
||||
}
|
||||
ctx.validate_check_sat_result(r);
|
||||
}
|
||||
|
@ -321,7 +321,7 @@ public:
|
|||
exec(t, g, result_goals);
|
||||
}
|
||||
catch (tactic_exception & ex) {
|
||||
ctx.regular_stream() << "(error \"tactic failed: " << ex.msg() << "\")" << std::endl;
|
||||
ctx.regular_stream() << "(error \"tactic failed: " << ex.what() << "\")" << std::endl;
|
||||
failed = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue