From 151d1ec5790556fcf20d60fc48be4ab926360b59 Mon Sep 17 00:00:00 2001 From: Philipp Haller Date: Thu, 29 Apr 2010 09:00:51 +0000 Subject: UncaughtException is now a case class (see #2017). --- test/files/jvm/t3356.scala | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'test') diff --git a/test/files/jvm/t3356.scala b/test/files/jvm/t3356.scala index 8a82677b5f..5626281e7d 100644 --- a/test/files/jvm/t3356.scala +++ b/test/files/jvm/t3356.scala @@ -38,13 +38,8 @@ object Test { react { case FutureInput ! (data @ ImageData(_)) => renderImage(data) - case Exit(from, ue: UncaughtException[_]) => - ue.message match { - case Some(Download(info)) => - println("Couldn't download image "+info+" because of "+ue.getCause()) - case _ => - println("Couldn't download image because of "+ue.getCause()) - } + case Exit(from, UncaughtException(_, Some(Download(info)), _, _, cause)) => + println("Couldn't download image "+info+" because of "+cause) } } println("OK, all images rendered.") -- cgit v1.2.3