ControlThrowableAsyncWrapper

cps.runtime.util.control.ControlThrowableAsyncWrapper
class ControlThrowableAsyncWrapper(val ce: ControlThrowable) extends Throwable

This wrapper for control exception, which is handled by NonFatal(ex)

The main reason for it;'s existence, that we can't rewrite all monadic operation to handle NonFatalOnly throwables instead NonFatal. (The right way will be to change monadic operations in standard library, but this is a long way. )

So, for supports of returning and break clauses, we change NonLocalReturns.throwReturn(ce) to NonLocalReturnsShift.throwAsyncWrapperReturn(ce)

Attributes

Source
ControlThrowableAsyncWrapper.scala
Graph
Supertypes
class Throwable
trait Serializable
class Object
trait Matchable
class Any

Members list

Keywords
  • no keywords
  • final
Inherited
  • Not inherited
  • Throwable

Value members

Inherited methods

final def addSuppressed(x$0: Throwable): Unit

Attributes

Inherited from:
Throwable
def fillInStackTrace(): Throwable

Attributes

Inherited from:
Throwable
def getCause(): Throwable

Attributes

Inherited from:
Throwable
def getLocalizedMessage(): String

Attributes

Inherited from:
Throwable
def getMessage(): String

Attributes

Inherited from:
Throwable
def getStackTrace(): Array[StackTraceElement]

Attributes

Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]

Attributes

Inherited from:
Throwable
def initCause(x$0: Throwable): Throwable

Attributes

Inherited from:
Throwable
def printStackTrace(x$0: PrintWriter): Unit

Attributes

Inherited from:
Throwable
def printStackTrace(x$0: PrintStream): Unit

Attributes

Inherited from:
Throwable
def printStackTrace(): Unit

Attributes

Inherited from:
Throwable
def setStackTrace(x$0: Array[StackTraceElement]): Unit

Attributes

Inherited from:
Throwable
def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Inherited from:
Throwable

Concrete fields

val ce: ControlThrowable