@@ -3014,7 +3014,7 @@ namespace smt {
3014
3014
bool was_consistent = !inconsistent ();
3015
3015
try {
3016
3016
internalize_assertions (); // internalize assertions before invoking m_asserted_formulas.push_scope
3017
- } catch (cancel_exception &) {
3017
+ } catch (oom_exception &) {
3018
3018
throw default_exception (" Resource limits hit in push" );
3019
3019
}
3020
3020
if (!m.inc ())
@@ -3629,7 +3629,7 @@ namespace smt {
3629
3629
3630
3630
try {
3631
3631
internalize_assertions ();
3632
- } catch (cancel_exception &) {
3632
+ } catch (oom_exception &) {
3633
3633
return l_undef;
3634
3634
}
3635
3635
expr_ref_vector theory_assumptions (m);
@@ -3702,7 +3702,7 @@ namespace smt {
3702
3702
add_theory_assumptions (asms);
3703
3703
TRACE (" unsat_core_bug" , tout << asms << ' \n ' ;);
3704
3704
init_assumptions (asms);
3705
- } catch (cancel_exception &) {
3705
+ } catch (oom_exception &) {
3706
3706
return l_undef;
3707
3707
}
3708
3708
TRACE (" before_search" , display (tout););
@@ -3729,7 +3729,7 @@ namespace smt {
3729
3729
// introducing proxies: if (!validate_assumptions(asms)) return l_undef;
3730
3730
for (auto const & clause : clauses) if (!validate_assumptions (clause)) return l_undef;
3731
3731
init_assumptions (asms);
3732
- } catch (cancel_exception &) {
3732
+ } catch (oom_exception &) {
3733
3733
return l_undef;
3734
3734
}
3735
3735
for (auto const & clause : clauses) init_clause (clause);
0 commit comments