summaryrefslogtreecommitdiff
path: root/test/files/jvm/actor-exceptions.scala
diff options
context:
space:
mode:
authorPhilipp Haller <hallerp@gmail.com>2010-04-22 10:26:29 +0000
committerPhilipp Haller <hallerp@gmail.com>2010-04-22 10:26:29 +0000
commitd16e5173035f7a104b62186f748785db3227ea97 (patch)
tree59e1bd3bbbf6e49fa7ceb278ec60b8c409047fa0 /test/files/jvm/actor-exceptions.scala
parentdcbffd4dc50c7e2540fd4770492b86108d3254fc (diff)
downloadscala-d16e5173035f7a104b62186f748785db3227ea97.tar.gz
scala-d16e5173035f7a104b62186f748785db3227ea97.tar.bz2
scala-d16e5173035f7a104b62186f748785db3227ea97.zip
Reverted change of Reactor.exceptionHandler's t...
Reverted change of Reactor.exceptionHandler's type of see r21650. Review by plocinic.
Diffstat (limited to 'test/files/jvm/actor-exceptions.scala')
-rw-r--r--test/files/jvm/actor-exceptions.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/jvm/actor-exceptions.scala b/test/files/jvm/actor-exceptions.scala
index 75dc1e4cd5..3ee4db9ed2 100644
--- a/test/files/jvm/actor-exceptions.scala
+++ b/test/files/jvm/actor-exceptions.scala
@@ -30,7 +30,7 @@ object Master extends Actor {
object Slave extends Actor {
override def toString = "Slave"
- override def exceptionHandler: PartialFunction[Throwable, Unit] = {
+ override def exceptionHandler: PartialFunction[Exception, Unit] = {
case MyException(text) =>
case other if !other.isInstanceOf[scala.util.control.ControlThrowable] => super.exceptionHandler(other)
}