SpecFailureAssertionFailedError

org.specs2.reporter.SpecFailureAssertionFailedError
class SpecFailureAssertionFailedError(e: Exception) extends AssertionFailedError

This class refines the AssertionFailedError from junit and provides the stackTrace of an exception which occurred during the specification execution

Attributes

Graph
Supertypes
class AssertionFailedError
class AssertionError
class Error
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def getCause: Throwable

Attributes

Definition Classes
Throwable
override def getStackTrace: Array[StackTraceElement]

Attributes

Definition Classes
Throwable
override def printStackTrace(): Unit

Attributes

Definition Classes
Throwable
override def printStackTrace(w: PrintStream): Unit

Attributes

Definition Classes
Throwable
override def printStackTrace(w: PrintWriter): Unit

Attributes

Definition Classes
Throwable
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Throwable -> Any

Inherited methods

final def addSuppressed(x$0: Throwable): Unit

Attributes

Inherited from:
Throwable
def fillInStackTrace(): Throwable

Attributes

Inherited from:
Throwable
def getLocalizedMessage(): String

Attributes

Inherited from:
Throwable
def getMessage(): String

Attributes

Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]

Attributes

Inherited from:
Throwable
def initCause(x$0: Throwable): Throwable

Attributes

Inherited from:
Throwable
def setStackTrace(x$0: Array[StackTraceElement]): Unit

Attributes

Inherited from:
Throwable