diff options
author | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-04-04 12:09:06 +0000 |
---|---|---|
committer | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-04-04 12:09:06 +0000 |
commit | cb9f5470c9a9dabdc334b234c9c6b6fd17237198 (patch) | |
tree | d0e48d83f2a9e916c9f682160920c621dbf457d6 /src/library/scala/throws.scala | |
parent | 0cda1dec3f2ec23c181b17dbb0f59299bab89430 (diff) | |
download | scala-cb9f5470c9a9dabdc334b234c9c6b6fd17237198.tar.gz scala-cb9f5470c9a9dabdc334b234c9c6b6fd17237198.tar.bz2 scala-cb9f5470c9a9dabdc334b234c9c6b6fd17237198.zip |
The great library reorg!
The standard library will now be laid out approximately like this
library/scala
/jvm/scala
/jvm/jvm1.4/scala
/jvm/jvm1.5/scala
/jvm/android/scala
/jvm/cldc/scala
/dotnet/scala
To build the standard library for a given target you start by copying
the root library/scala tree to a staging area, then move down in the
hierarchy copying the nested "scala" trees on top in the staging area.
So if you wanted to build for cldc, for example, you would do something
like the following:
rsync -avz library/scala staging/
rsync -avz library/scala/jvm/scala staging/
rsync -avz library/scala/jvm/cldc/scala staging/
The ant build files will be updated to do this for you automagically,
and there will soon be shell script to do this if you want to compile
some parts of the standard library manually.
Diffstat (limited to 'src/library/scala/throws.scala')
-rw-r--r-- | src/library/scala/throws.scala | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/library/scala/throws.scala b/src/library/scala/throws.scala deleted file mode 100644 index 463a01b3f9..0000000000 --- a/src/library/scala/throws.scala +++ /dev/null @@ -1,30 +0,0 @@ -/* __ *\ -** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2002-2008, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** -** /____/\___/_/ |_/____/_/ | | ** -** |/ ** -*/ - -// $Id$ - - -package scala - -import Predef._ - -/** <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: Class[_]) extends Annotation |