|
Scala 2.4.0-RC1
|
class
throws
extends
scala.Annotation
with
scala.ScalaObject
Annotation for specifying the exceptions thrown by a method. For example:
class Reader(fname: String) { private val in = new BufferedReader(new FileReader(fname)) @throws(classOf[IOException]) def read() = in.read() }
Constructor Summary | |
def
this
(clazz: java.lang.Class)
|
Constructor Detail |