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
    @HotSpotIntrinsicCandidate() @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 fullLocation: String

    Permalink

    returns

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

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. def getFullStackTrace: List[StackTraceElement]

    Permalink

    returns

    the list of all stacktrace elements

  18. def getFullStackTraceAsString: String

    Permalink

    returns

    the full stack trace as a string

  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  20. def headOption: Option[StackTraceElement]

    Permalink

    returns

    the first stacktrace element as an option

  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def location: String

    Permalink

    returns

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

  23. def messageAndCause: String

    Permalink

    returns

    the exception message and its cause if any

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  27. def printFullStackTrace(): Unit

    Permalink

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped