Skip to content

Commit

Permalink
fix #3553
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoScaletta committed Feb 19, 2025
1 parent c0eca77 commit 0d0b51c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion key.core/src/main/java/de/uka/ilkd/key/proof/io/KeYFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import de.uka.ilkd.key.util.ProgressMonitor;
import de.uka.ilkd.key.util.parsing.BuildingIssue;

import org.antlr.v4.runtime.misc.ParseCancellationException;
import org.key_project.util.collection.DefaultImmutableSet;
import org.key_project.util.collection.ImmutableSet;
import org.key_project.util.collection.Immutables;
Expand Down Expand Up @@ -216,7 +217,10 @@ public Includes readIncludes() throws ProofInputException {
KeyAst.File ctx = getParseContext();
includes =
ctx.getIncludes(file.file().getAbsoluteFile().getParentFile().toURI().toURL());
} catch (Exception e) {
} catch (ParseCancellationException e){
throw new ParseCancellationException(e);
}
catch (Exception e) {
throw new ProofInputException(e);
}
}
Expand Down

0 comments on commit 0d0b51c

Please # to comment.