1 2 3 4 5 6 7 8 9
@throws(classOf[B]) class ExceptionTest { @throws(classOf[C]) def foo(@throws(classOf[D]) x: Int) {} @throws(classOf[E]) type t = String }