diff options
author | Philipp Haller <hallerp@gmail.com> | 2010-04-29 09:00:51 +0000 |
---|---|---|
committer | Philipp Haller <hallerp@gmail.com> | 2010-04-29 09:00:51 +0000 |
commit | 151d1ec5790556fcf20d60fc48be4ab926360b59 (patch) | |
tree | 2599ba8310bac2e8e273bf94c03aa3da94db9b6f /test/files | |
parent | 8f2d31cbcdd9a99195a554d9c9063a79c38b9444 (diff) | |
download | scala-151d1ec5790556fcf20d60fc48be4ab926360b59.tar.gz scala-151d1ec5790556fcf20d60fc48be4ab926360b59.tar.bz2 scala-151d1ec5790556fcf20d60fc48be4ab926360b59.zip |
UncaughtException is now a case class (see #2017).
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/jvm/t3356.scala | 9 |
1 files changed, 2 insertions, 7 deletions
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.") |