Skip to content
Snippets Groups Projects
Commit 3bad9622 authored by Emmanouil (Manos) Koukoutos's avatar Emmanouil (Manos) Koukoutos Committed by Etienne Kneuss
Browse files

Catch nested exception in CodeGenEvaluator

parent fb8abd6f
No related branches found
No related tags found
No related merge requests found
......@@ -55,6 +55,10 @@ class CodeGenEvaluator(ctx : LeonContext, val unit : CompilationUnit) extends Ev
case e : LeonCodeGenEvaluationException =>
EvaluationResults.EvaluatorError(e.getMessage)
case e : java.lang.ExceptionInInitializerError =>
EvaluationResults.RuntimeError(e.getException.getMessage)
}
})
} catch {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment