Commit 1e9ec5fb authored by dgelessus's avatar dgelessus
Browse files

Remove no longer needed handling of ModelTranslationError

ProB 2 now always throws ProBError for parse errors and
ModelTranslationError is no longer used.
parent d29520a3
Pipeline #57945 failed with stage
in 3 minutes and 30 seconds
......@@ -17,7 +17,6 @@ import;
import de.prob.scripting.FactoryProvider;
import de.prob.scripting.ModelFactory;
import de.prob.scripting.ModelTranslationError;
import de.prob.statespace.AnimationSelector;
import de.prob.statespace.Trace;
import de.prob2.jupyter.Command;
......@@ -106,7 +105,7 @@ public final class LoadFileCommand implements Command {
try {
} catch (final IOException | ModelTranslationError e) {
} catch (final IOException e) {
throw new RuntimeException(e);
return new Trace(stateSpace);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment