sealed trait Cause[+E] extends Product with Serializable
- Self Type
- Cause[E]
- Alphabetic
- By Inheritance
- Cause
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
&&[E1 >: E](that: Cause[E1]): Cause[E1]
Returns a cause that fails for this cause and the specified cause, in parallel.
-
final
def
++[E1 >: E](that: Cause[E1]): Cause[E1]
Returns a cause that fails for this cause and the specified cause, in sequence.
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
contains[E1 >: E](that: Cause[E1]): Boolean
Determines if this cause contains or is equal to the specified cause.
-
final
def
defects: List[Throwable]
Extracts a list of non-recoverable errors from the
Cause
. -
final
def
dieOption: Option[Throwable]
Returns the
Throwable
associated with the firstDie
in thisCause
if one exists. - final def died: Boolean
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def failed: Boolean
-
def
failureOption: Option[E]
Returns the
E
associated with the firstFail
in thisCause
if one exists. -
final
def
failureOrCause: Either[E, Cause[Nothing]]
Retrieve the first checked error on the
Left
if available, if there are no checked errors return the rest of theCause
that is known to contain onlyDie
orInterrupt
causes. -
final
def
failures: List[E]
Produces a list of all recoverable errors
E
in theCause
. -
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- final def flatMap[E1](f: (E) ⇒ Cause[E1]): Cause[E1]
- final def flatten[E1](implicit ev: <:<[E, Cause[E1]]): Cause[E1]
- final def fold[Z](empty: ⇒ Z, failCase: (E) ⇒ Z, dieCase: (Throwable) ⇒ Z, interruptCase: (Id) ⇒ Z)(thenCase: (Z, Z) ⇒ Z, bothCase: (Z, Z) ⇒ Z, tracedCase: (Z, ZTrace) ⇒ Z): Z
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
interrupted: Boolean
Determines if the
Cause
contains an interruption. -
final
def
interruptedOnly: Boolean
Determines if the
Cause
contains only interruptions and not anyDie
orFail
causes. -
final
def
interruptors: Set[Id]
Returns a set of interruptors, fibers that interrupted the fiber described by this
Cause
. -
final
def
isEmpty: Boolean
Determines if the
Cause
is empty. -
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def map[E1](f: (E) ⇒ E1): Cause[E1]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
prettyPrint: String
Returns a
String
with the cause pretty-printed. -
def
productIterator: Iterator[Any]
- Definition Classes
- Product
-
def
productPrefix: String
- Definition Classes
- Product
-
final
def
squash(implicit ev: <:<[E, Throwable]): Throwable
Squashes a
Cause
down to a singleThrowable
, chosen to be the "most important"Throwable
. -
final
def
squashTrace(implicit ev: <:<[E, Throwable]): Throwable
Squashes a
Cause
down to a singleThrowable
, chosen to be the "most important"Throwable
.Squashes a
Cause
down to a singleThrowable
, chosen to be the "most important"Throwable
. In addition, appends a new element the toThrowable
s "caused by" chain, with thisCause
"pretty printed" (in stackless mode) as the message. -
final
def
squashWith(f: (E) ⇒ Throwable): Throwable
Squashes a
Cause
down to a singleThrowable
, chosen to be the "most important"Throwable
. -
final
def
squashWithTrace(f: (E) ⇒ Throwable): Throwable
Squashes a
Cause
down to a singleThrowable
, chosen to be the "most important"Throwable
.Squashes a
Cause
down to a singleThrowable
, chosen to be the "most important"Throwable
. In addition, appends a new element the toThrowable
s "caused by" chain, with thisCause
"pretty printed" (in stackless mode) as the message. -
final
def
stripFailures: Option[Cause[Nothing]]
Remove all
Fail
andInterrupt
nodes from thisCause
, return onlyDie
cause/finalizer defects. -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
traces: List[ZTrace]
Grabs a list of execution traces from the cause.
-
final
def
untraced: Cause[E]
Returns a
Cause
that has been stripped of all tracing information. -
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()