Throwablex

org.specs2.control.Throwablex
See theThrowablex companion object
trait Throwablex

This trait adds some utility methods to Throwable objects.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Throwablex.type

Members list

Type members

Classlikes

class ExtendedThrowable[T <: Throwable](t: T)

See the ExtendedExceptions object description

See the ExtendedExceptions object description

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def exception(m: String, st: Seq[StackTraceElement], cause: Throwable): Exception

Attributes

Returns

an exception with the given message and stacktrace

def exception(st: Seq[StackTraceElement]): Exception

Attributes

Returns

an exception with the given stacktrace

def stackTraceElement(m: String, className: String, fileName: String, lineNumber: Int): StackTraceElement

utility method to create a default stacktrace element

utility method to create a default stacktrace element

Attributes

Implicits

Implicits

implicit def extend[T <: Throwable](t: T): ExtendedThrowable[T]

Implicit method to add additional methods to Throwable objects

Implicit method to add additional methods to Throwable objects

Attributes