Remove long obsolete unsafe interrupt exception (#8139)
authorGereon Kremer <gkremer@cs.stanford.edu>
Wed, 23 Feb 2022 19:09:52 +0000 (20:09 +0100)
committerGitHub <noreply@github.com>
Wed, 23 Feb 2022 19:09:52 +0000 (19:09 +0000)
commit39bd56468f08040f91ca1ed93f4741d8e76d6c38
tree019b9381bef4bb5028d357ef9f78119645072688
parent4cf79c69a6c6ef8bb26f0119e85450a3cf7028a3
Remove long obsolete unsafe interrupt exception (#8139)

We used to use UnsafeInterruptException to deal with resource outs in the resource manager: when resources were exhausted, we would throw this exception that was catched in the core solver engine. This had the significant downside of leaving the solver in a potentially inconsistent state. We moved away from using it long ago in #4732.
What remained was the UnsafeInterruptException class itself and a bunch of places that still catch this exception that is no longer thrown anywhere.

This PR removes this class for good.
13 files changed:
src/main/driver_unified.cpp
src/parser/parser.h
src/prop/minisat/core/Solver.cc
src/prop/prop_engine.h
src/smt/assertions.h
src/smt/command.cpp
src/smt/solver_engine.cpp
src/smt/solver_engine.h
src/theory/theory_engine.h
src/util/CMakeLists.txt
src/util/resource_manager.h
src/util/unsafe_interrupt_exception.h [deleted file]
test/unit/test_smt.h