summaryrefslogtreecommitdiff
path: root/test/files/jvm/actor-exceptions.scala
diff options
context:
space:
mode:
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)
}