actual

public ResultOfExceptionalCall.Builder<T> actual(T exception, boolean successful)(source)

Set the actual exception of the correct type and if this exception fulfils the expected throwable.

Return

this bbuilder

Parameters

exception

the actual exception