c

akka.testkit

TestException

final case class TestException(message: String) extends RuntimeException with NoStackTrace with Product with Serializable

A predefined exception that can be used in tests. It doesn't include a stack trace.

Source
TestException.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TestException
  2. Product
  3. Equals
  4. NoStackTrace
  5. RuntimeException
  6. Exception
  7. Throwable
  8. Serializable
  9. AnyRef
  10. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TestException(message: String)

Value Members

  1. final def addSuppressed(arg0: Throwable): Unit
    Definition Classes
    Throwable
  2. def fillInStackTrace(): Throwable
    Definition Classes
    NoStackTrace → 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