Skip to content

Commit f991cb0

Browse files
committed
remove or document unused exception from test.
1 parent be88a8c commit f991cb0

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/org/sosy_lab/java_smt/basicimpl/AbstractFormulaManager.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,10 +377,8 @@ public BooleanFormula applyTactic(BooleanFormula f, Tactic tactic)
377377

378378
/**
379379
* Eliminate UFs from the given input formula.
380-
*
381-
* @throws InterruptedException Can be thrown by the native code.
382380
*/
383-
protected BooleanFormula applyUFEImpl(BooleanFormula pF) throws InterruptedException {
381+
protected BooleanFormula applyUFEImpl(BooleanFormula pF) {
384382
return SolverUtils.ufElimination(this).eliminateUfs(pF);
385383
}
386384

@@ -390,6 +388,7 @@ protected BooleanFormula applyUFEImpl(BooleanFormula pF) throws InterruptedExcep
390388
* <p>This is the light version that does not need to eliminate all quantifiers.
391389
*
392390
* @throws InterruptedException Can be thrown by the native code.
391+
* @throws SolverException Can be thrown by the native code.
393392
*/
394393
protected BooleanFormula applyQELightImpl(BooleanFormula pF)
395394
throws InterruptedException, SolverException {
@@ -404,6 +403,7 @@ protected BooleanFormula applyQELightImpl(BooleanFormula pF)
404403
*
405404
* @param pF Input to apply the CNF transformation to.
406405
* @throws InterruptedException Can be thrown by the native code.
406+
* @throws SolverException Can be thrown by the native code.
407407
*/
408408
protected BooleanFormula applyCNFImpl(BooleanFormula pF)
409409
throws InterruptedException, SolverException {
@@ -417,6 +417,7 @@ protected BooleanFormula applyCNFImpl(BooleanFormula pF)
417417
* Apply negation normal form (NNF) transformation to the given input formula.
418418
*
419419
* @throws InterruptedException Can be thrown by the native code.
420+
* @throws SolverException Can be thrown by the native code.
420421
*/
421422
protected BooleanFormula applyNNFImpl(BooleanFormula input)
422423
throws InterruptedException, SolverException {
@@ -434,6 +435,7 @@ public <T extends Formula> T simplify(T f) throws InterruptedException, SolverEx
434435
* <p>This does not need to change something, but it might simplify the formula.
435436
*
436437
* @throws InterruptedException Can be thrown by the native code.
438+
* @throws SolverException Can be thrown by the native code.
437439
*/
438440
protected TFormulaInfo simplify(TFormulaInfo f) throws InterruptedException, SolverException {
439441
return f;

src/org/sosy_lab/java_smt/test/SolverTacticsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public void ufEliminationNestedUfsTest() throws SolverException, InterruptedExce
199199
}
200200

201201
@Test
202-
public void ufEliminationNestedQuantifierTest() throws InterruptedException, SolverException {
202+
public void ufEliminationNestedQuantifierTest() {
203203
requireIntegers();
204204
requireQuantifiers();
205205
// f := exists v1,v2v,v3,v4 : uf(v1, v3) == uf(v2, v4)

0 commit comments

Comments
 (0)