final case class DummyException(message: String) extends RuntimeException with Serializable with Product
Used in testing to trigger dummy exceptions.
Not to be used for anything except in testing, since this exception type implements structural equality.
This means that these 2 exceptions are considered equal, even if they have different stack-traces:
val dummy1 = DummyException("dummy") val dummy2 = DummyException("dummy") dummy == dummy2 //=> true
- Source
- DummyException.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DummyException
- Product
- Equals
- Serializable
- RuntimeException
- Exception
- Throwable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
addSuppressed(arg0: Throwable): Unit
- Definition Classes
- Throwable
-
def
fillInStackTrace(): Throwable
- Definition Classes
- Throwable
-
def
getCause(): Throwable
- Definition Classes
- Throwable
-
def
getLocalizedMessage(): String
- Definition Classes
- Throwable
-
def
getMessage(): String
- Definition Classes
- Throwable
-
def
getStackTrace(): Array[StackTraceElement]
- Definition Classes
- Throwable
-
final
def
getSuppressed(): Array[Throwable]
- Definition Classes
- Throwable
-
def
initCause(arg0: Throwable): Throwable
- Definition Classes
- Throwable
- val message: String
-
def
printStackTrace(arg0: PrintWriter): Unit
- Definition Classes
- Throwable
-
def
printStackTrace(arg0: PrintStream): Unit
- Definition Classes
- Throwable
-
def
printStackTrace(): Unit
- Definition Classes
- Throwable
-
def
setStackTrace(arg0: Array[StackTraceElement]): Unit
- Definition Classes
- Throwable
-
def
toString(): String
- Definition Classes
- Throwable → AnyRef → Any
This is the API documentation for the Monix library.
Package Overview
monix.execution exposes lower level primitives for dealing with asynchronous execution:
Atomic
types, as alternative tojava.util.concurrent.atomic
monix.eval is for dealing with evaluation of results, thus exposing Task and Coeval.
monix.reactive exposes the
Observable
pattern:Observable
implementationsmonix.types implements type-class shims, to be translated to type-classes provided by libraries such as Cats or Scalaz.
monix.cats is the optional integration with the Cats library, providing translations for the types described in
monix.types
.monix.scalaz is the optional integration with the Scalaz library, providing translations for the types described in
monix.types
.