diff options
author | Lukas Rytz <lukas.rytz@epfl.ch> | 2008-07-28 22:18:15 +0000 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@epfl.ch> | 2008-07-28 22:18:15 +0000 |
commit | f6974416057ead15f0903bd4da5b1ccf5f423a84 (patch) | |
tree | 495a39c8647949af379b6b26230acfcec3462c8e /src | |
parent | 90200957ca0beb4db24555a2563d0a902de0078d (diff) | |
download | scala-f6974416057ead15f0903bd4da5b1ccf5f423a84.tar.gz scala-f6974416057ead15f0903bd4da5b1ccf5f423a84.tar.bz2 scala-f6974416057ead15f0903bd4da5b1ccf5f423a84.zip |
Fixes the msil build.
On .NET, the method fillInStackTrace does not exist (in
System.Exception, which is aliased as RuntimeException). So
NonLocalReturnException cannot override it.
Diffstat (limited to 'src')
-rw-r--r-- | src/dotnet-library/scala/runtime/NonLocalReturnException.scala | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/dotnet-library/scala/runtime/NonLocalReturnException.scala b/src/dotnet-library/scala/runtime/NonLocalReturnException.scala new file mode 100644 index 0000000000..a0eb335b5f --- /dev/null +++ b/src/dotnet-library/scala/runtime/NonLocalReturnException.scala @@ -0,0 +1,17 @@ +/* __ *\ +** ________ ___ / / ___ Scala API ** +** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** +** /____/\___/_/ |_/____/_/ | | ** +** |/ ** +\* */ + +// $Id: NonLocalReturnException.scala 15604 2008-07-24 09:56:59Z phaller $ + + +package scala.runtime + + +import Predef.RuntimeException + +class NonLocalReturnException[T](val key: AnyRef, val value: T) extends RuntimeException |