File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/org/sosy_lab/java_smt/solvers/mathsat5 Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -97,13 +97,14 @@ private long buildConfig(Set<ProverOptions> opts) {
97
97
/** add needed options into the given map. */
98
98
protected abstract void createConfig (Map <String , String > pConfig );
99
99
100
- private <T > T exec (Callable <T > closure ) throws SolverException {
100
+ private <T > T exec (Callable <T > closure ) throws SolverException , InterruptedException {
101
101
long hook = context .addTerminationTest (curEnv );
102
102
T value = null ;
103
103
try {
104
104
value = closure .call ();
105
105
} catch (Throwable t ) {
106
106
Throwables .propagateIfPossible (t , IllegalStateException .class , SolverException .class );
107
+ Throwables .propagateIfPossible (t , InterruptedException .class );
107
108
} finally {
108
109
msat_free_termination_callback (hook );
109
110
}
You can’t perform that action at this time.
0 commit comments