/*                     __                                               *\
**     ________ ___   / /  ___     Scala API                            **
**    / __/ __// _ | / /  / _ |    (c) 2002-2009, LAMP/EPFL             **
**  __\ \/ /__/ __ |/ /__/ __ |    http://scala-lang.org/               **
** /____/\___/_/ |_/____/_/ | |                                         **
**                          |/                                          **
\*                                                                      */

// $Id: NonLocalReturnException.scala 18308 2009-07-15 13:01:43Z milessabin $


package scala.runtime


import Predef.RuntimeException
import scala.util.control.ControlException

class NonLocalReturnException[T](val key: AnyRef, val value: T) extends RuntimeException with ControlException {
  /*
   * For efficiency reasons we do not fill in
   * the execution stack trace.
   */
  override def fillInStackTrace(): Throwable = this
}