diff options
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/jvm/actor-exceptions.scala | 2 |
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) } |