doc / ch.tutteli.atrium.assertions.throwable.thrown.creators / ThrowableThrownAssertionCreator / <init>

<init>

ThrowableThrownAssertionCreator(absentThrowableMessageProvider: IAbsentThrowableMessageProvider, failureHandler: IDownCastFailureHandler<Throwable, TExpected>)

Represents a creator of a sophisticated a Throwable (of type TExpected) was thrown assertion.

Parameters

absentThrowableMessageProvider - Provides a description for the case no Throwable was thrown at all. failureHandler - A handler which decides how the assertion creator lambda (see executeActAndCreateAssertion) is used in reporting.

Constructor
Represents a creator of a sophisticated a Throwable (of type TExpected) was thrown assertion.