Packages

c

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExtendedThrowable(t: T)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(i: Int): StackTraceElement

    returns

    the ith stacktrace element

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def chainedExceptions: List[Throwable]

    returns

    the list of chained exceptions

  7. def classLocation: String

    returns

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

  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def exists(pattern: String): Boolean

    returns

    true if the pattern exists in one of the traces

  12. 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!

  13. def filter(pattern: String): T

    Select all traces of this exception matching a given pattern

  14. def filterNot(pattern: String): T

    Select all traces of this exception not matching a given pattern

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

    returns

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

  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getFullStackTrace: List[StackTraceElement]

    returns

    the list of all stacktrace elements

  19. def getFullStackTraceAsString: String

    returns

    the full stack trace as a string

  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def headOption: Option[StackTraceElement]

    returns

    the first stacktrace element as an option

  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def location: String

    returns

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

  24. def messageAndCause: String

    returns

    the exception message and its cause if any

  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def printFullStackTrace(): Unit

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

  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped