mirror of
https://github.com/Z3Prover/z3
synced 2026-02-20 15:34: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
|
|
@ -710,7 +710,7 @@ private:
|
|||
}
|
||||
}
|
||||
catch (z3_exception& ex) {
|
||||
IF_VERBOSE(1, verbose_stream() << ex.msg() << "\n";);
|
||||
IF_VERBOSE(1, verbose_stream() << ex.what() << "\n";);
|
||||
if (m_queue.in_shutdown()) return;
|
||||
m_queue.shutdown();
|
||||
std::lock_guard<std::mutex> lock(m_mutex);
|
||||
|
|
@ -718,7 +718,7 @@ private:
|
|||
m_exn_code = ex.error_code();
|
||||
}
|
||||
else {
|
||||
m_exn_msg = ex.msg();
|
||||
m_exn_msg = ex.what();
|
||||
m_exn_code = -1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue