Silence boring Eclipse warnings: catching all exceptions, part 2

These warning fixes are new since my last pull request, please verify.
This commit is contained in:
Paolo G. Giarrusso 2013-01-08 00:39:40 +01:00 committed by Mark Harrah
parent e5673f7426
commit ef84332a51
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ abstract class EvaluateSettings[Scope]
}
private[this] def run0(work: => Unit): Unit =
{
try { work } catch { case e => complete.put( Some(e) ) }
try { work } catch { case e: Throwable => complete.put( Some(e) ) }
workComplete()
}