org.specs2.control.Throwablex

ExtendedThrowable

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExtendedThrowable(t: T)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply(i: Int): StackTraceElement

    returns

    the ith stacktrace element

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def chainedExceptions: List[Throwable]

    returns

    the list of chained exceptions

  9. def classLocation: String

    returns

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

  10. def clone(): AnyRef

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

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

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

    returns

    true if the pattern exists in one of the traces

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

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

  15. def filter(pattern: String): T

    Select all traces of this exception matching a given pattern

  16. def filterNot(pattern: String): T

    Select all traces of this exception not matching a given pattern

  17. def finalize(): Unit

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

    returns

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

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

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

    returns

    the list of all stacktrace elements

  21. def getFullStackTraceAsString: String

    returns

    the full stack trace as a string

  22. def hashCode(): Int

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

    returns

    the first stacktrace element as an option

  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. def location: String

    returns

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

  26. def messageAndCause: String

    returns

    the exception message and its cause if any

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

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. def printFullStackTrace(): Unit

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

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

    Definition Classes
    AnyRef
  32. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped