Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (24 sloc) 1.051 kb
/* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
*/
// $Id$
package scala
/** <p>
* Annotation for specifying the exceptions thrown by a method.
* For example:
* </p><pre>
* <b>class</b> Reader(fname: String) {
* <b>private val</b> in =
* <b>new</b> BufferedReader(<b>new</b> <a class="java_io_FileReader" href="" target="_top">FileReader</a>(fname))
* @throws(classOf[<a class="java_io_IOException" href="" target="_top">IOException</a>])
* <b>def</b> read() = in.read()
* }</pre>
*
* @author Nikolay Mihaylov
* @version 1.0, 19/05/2006
*/
class throws(clazz: java.lang.Class) extends Annotation
Jump to Line
Something went wrong with that request. Please try again.