add throws clauses to Java APIs

This commit is contained in:
Roland 2012-08-09 18:15:38 +02:00
parent bf49b75d5e
commit e3ac633649
3 changed files with 5 additions and 3 deletions

View file

@ -732,6 +732,7 @@ trait DefaultTimeout { this: TestKit ⇒
private[testkit] abstract class CachingPartialFunction[A, B <: AnyRef] extends scala.runtime.AbstractPartialFunction[A, B] {
import akka.japi.JavaPartialFunction._
@throws(classOf[Exception])
def `match`(x: A): B
var cache: B = _