in scala
class throws

`class` throws
  `extends` scala.Annotation
  `with` scala.ScalaObject

  Annotation for specifying the exceptions thrown by a method.

  Example:

       class Reader(fname: String) {
         private val in =
           new BufferedReader(new FileReader(fname))
         [throws(classOf[IOException])]
         def read() = in.read()
       }

Author:
  Nikolay Mihaylov
Version:
  1.0, 19/05/2006

Constructor Summary
| `def` this (clazz: java.lang.Class)

Constructor Detail

`def` this (clazz: java.lang.Class)