Class

org.specs2.control.Throwablex

ExtendedThrowable

Related Doc: package Throwablex

Permalink

class ExtendedThrowable[T <: Throwable] extends AnyRef

See the ExtendedExceptions object description

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExtendedThrowable
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExtendedThrowable(t: T)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(i: Int): StackTraceElement

    Permalink

    returns

    the ith stacktrace element

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def chainedExceptions: List[Throwable]

    Permalink

    returns

    the list of chained exceptions

  7. def classLocation: String

    Permalink

    returns

    the class name and the line number where the Throwable was created

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def exists(pattern: String): Boolean

    Permalink

    returns

    true if the pattern exists in one of the traces

  12. def filter(f: (Seq[StackTraceElement]) ⇒ Seq[StackTraceElement]): T

    Permalink

    Select all traces of this exception according to filtering function WARNING: this mutates the exception to be able to retain its type!

  13. def filter(pattern: String): T

    Permalink

    Select all traces of this exception matching a given pattern

  14. def filterNot(pattern: String): T

    Permalink

    Select all traces of this exception not matching a given pattern

  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def fullLocation: String

    Permalink

    returns

    the class name, file Name and the line number where the Throwable was created

  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def getFullStackTrace: List[StackTraceElement]

    Permalink

    returns

    the list of all stacktrace elements

  19. def getFullStackTraceAsString: String

    Permalink

    returns

    the full stack trace as a string

  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. def headOption: Option[StackTraceElement]

    Permalink

    returns

    the first stacktrace element as an option

  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def location: String

    Permalink

    returns

    the file name and the line number where the Throwable was created

  24. def messageAndCause: String

    Permalink

    returns

    the exception message and its cause if any

  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def printFullStackTrace(): Unit

    Permalink

    print all the stacktrace for t, including the traces from its causes

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped