diff options
Diffstat (limited to 'libraries/eval/Eval.scala')
-rw-r--r-- | libraries/eval/Eval.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/eval/Eval.scala b/libraries/eval/Eval.scala index ed35487..8c3cc0e 100644 --- a/libraries/eval/Eval.scala +++ b/libraries/eval/Eval.scala @@ -73,14 +73,14 @@ class Eval(target: Option[File]) { private lazy val compilerPath = try { classPathOfClass("scala.tools.nsc.Interpreter") } catch { - case e => + case e: Throwable => throw new RuntimeException("Unable lo load scala interpreter from classpath (scala-compiler jar is missing?)", e) } private lazy val libPath = try { classPathOfClass("scala.ScalaObject") } catch { - case e => + case e: Throwable => throw new RuntimeException("Unable to load scala base object from classpath (scala-library jar is missing?)", e) } |