scala.runtime.NonLocalReturnControl

class NonLocalReturnControl[T] extends Throwable with ControlThrowable

Value Members From java.lang.Throwable

final def addSuppressed(arg0: java.lang.Throwable): Unit

  • Definition Classes
    • Throwable

(defined at java.lang.Throwable)

def getCause(): java.lang.Throwable

  • Definition Classes
    • Throwable

(defined at java.lang.Throwable)

final def getSuppressed(): Array[java.lang.Throwable]

  • Definition Classes
    • Throwable

(defined at java.lang.Throwable)

def initCause(arg0: java.lang.Throwable): java.lang.Throwable

  • Definition Classes
    • Throwable

(defined at java.lang.Throwable)

def printStackTrace(arg0: PrintStream): Unit

  • Definition Classes
    • Throwable

(defined at java.lang.Throwable)

def printStackTrace(arg0: PrintWriter): Unit

  • Definition Classes
    • Throwable

(defined at java.lang.Throwable)

def setStackTrace(arg0: Array[StackTraceElement]): Unit

  • Definition Classes
    • Throwable

(defined at java.lang.Throwable)

Instance Constructors From scala.runtime.NonLocalReturnControl

new NonLocalReturnControl(key: AnyRef, value: T)

(defined at scala.runtime.NonLocalReturnControl)

Full Source:

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

package scala
package runtime

import scala.util.control.ControlThrowable

class NonLocalReturnControl[@specialized T](val key: AnyRef, val value: T) extends ControlThrowable {
  final override def fillInStackTrace(): Throwable = this
}