Packages

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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DummyException
  2. Product
  3. Equals
  4. RuntimeException
  5. Exception
  6. Throwable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DummyException()
  2. new DummyException(message: String)

Value Members

  1. final def addSuppressed(arg0: Throwable): Unit
    Definition Classes
    Throwable
  2. def fillInStackTrace(): Throwable
    Definition Classes
    Throwable
  3. def getCause(): Throwable
    Definition Classes
    Throwable
  4. def getLocalizedMessage(): String
    Definition Classes
    Throwable
  5. def getMessage(): String
    Definition Classes
    Throwable
  6. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Throwable
  7. final def getSuppressed(): Array[Throwable]
    Definition Classes
    Throwable
  8. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  9. val message: String
  10. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  11. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  12. def printStackTrace(): Unit
    Definition Classes
    Throwable
  13. def productElementNames: Iterator[String]
    Definition Classes
    Product
  14. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  15. def toString(): String
    Definition Classes
    Throwable → AnyRef → Any