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 Throwabletrait Serializableclass Objecttrait Matchableclass Any
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
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
Attributes
In this article