withException

abstract fun withException(t: Throwable): ProblemSpec

Declares the exception causing this problem.

Return

this

Since

8.11

Parameters

t

the exception.