Uses of Class
org.assertj.core.api.ThrowableTypeAssert
Packages that use ThrowableTypeAssert
-
Uses of ThrowableTypeAssert in org.assertj.core.api
Subclasses of ThrowableTypeAssert in org.assertj.core.apiModifier and TypeClassDescriptionclass
SoftThrowableTypeAssert<T extends Throwable>
ThrowableTypeAssert for soft assertions.Methods in org.assertj.core.api that return ThrowableTypeAssertModifier and TypeMethodDescriptionstatic ThrowableTypeAssert
<Exception> Assertions.assertThatException()
Alias forAssertions.assertThatExceptionOfType(Class)
forException
.default ThrowableTypeAssert
<Exception> Java6StandardSoftAssertionsProvider.assertThatException()
default ThrowableTypeAssert
<Exception> WithAssertions.assertThatException()
Alias forWithAssertions.assertThatExceptionOfType(Class)
forException
.static <T extends Throwable>
ThrowableTypeAssert<T> Assertions.assertThatExceptionOfType
(Class<? extends T> exceptionType) Entry point to check that an exception of type T is thrown by a giventhrowingCallable
which allows to chain assertions on the thrown exception.static <T extends Throwable>
ThrowableTypeAssert<T> AssertionsForClassTypes.assertThatExceptionOfType
(Class<? extends T> exceptionType) Entry point to check that an exception of type T is thrown by a giventhrowingCallable
which allows to chain assertions on the thrown exception.default <T extends Throwable>
ThrowableTypeAssert<T> Java6StandardSoftAssertionsProvider.assertThatExceptionOfType
(Class<T> throwableType) Entry point to check that an exception of type T is thrown by a giventhrowingCallable
which allows to chain assertions on the thrown exception.default <T extends Throwable>
ThrowableTypeAssert<T> WithAssertions.assertThatExceptionOfType
(Class<? extends T> exceptionType) Entry point to check that an exception of type T is thrown by a giventhrowingCallable
which allows to chain assertions on the thrown exception.Assertions.assertThatIllegalArgumentException()
Java6StandardSoftAssertionsProvider.assertThatIllegalArgumentException()
WithAssertions.assertThatIllegalArgumentException()
Assertions.assertThatIllegalStateException()
Alias forAssertions.assertThatExceptionOfType(Class)
forIllegalStateException
.default ThrowableTypeAssert
<IllegalStateException> Java6StandardSoftAssertionsProvider.assertThatIllegalStateException()
default ThrowableTypeAssert
<IllegalStateException> WithAssertions.assertThatIllegalStateException()
Assertions.assertThatIndexOutOfBoundsException()
Java6StandardSoftAssertionsProvider.assertThatIndexOutOfBoundsException()
WithAssertions.assertThatIndexOutOfBoundsException()
static ThrowableTypeAssert
<IOException> Assertions.assertThatIOException()
Alias forAssertions.assertThatExceptionOfType(Class)
forIOException
.default ThrowableTypeAssert
<IOException> Java6StandardSoftAssertionsProvider.assertThatIOException()
default ThrowableTypeAssert
<IOException> WithAssertions.assertThatIOException()
Alias forWithAssertions.assertThatExceptionOfType(Class)
forIOException
.Assertions.assertThatNullPointerException()
Alias forAssertions.assertThatExceptionOfType(Class)
forNullPointerException
.default ThrowableTypeAssert
<NullPointerException> Java6StandardSoftAssertionsProvider.assertThatNullPointerException()
default ThrowableTypeAssert
<NullPointerException> WithAssertions.assertThatNullPointerException()
Assertions.assertThatReflectiveOperationException()
Java6StandardSoftAssertionsProvider.assertThatReflectiveOperationException()
WithAssertions.assertThatReflectiveOperationException()
static ThrowableTypeAssert
<RuntimeException> Assertions.assertThatRuntimeException()
Alias forAssertions.assertThatExceptionOfType(Class)
forRuntimeException
.default ThrowableTypeAssert
<RuntimeException> Java6StandardSoftAssertionsProvider.assertThatRuntimeException()
default ThrowableTypeAssert
<RuntimeException> WithAssertions.assertThatRuntimeException()
Alias forWithAssertions.assertThatExceptionOfType(Class)
forRuntimeException
.static ThrowableTypeAssert
<Exception> Assumptions.assumeThatException()
Alias forAssumptions.assumeThatExceptionOfType(Class)
forException
.static <T extends Throwable>
ThrowableTypeAssert<T> Assumptions.assumeThatExceptionOfType
(Class<? extends T> exceptionType) Entry point to check that an exception of type T is thrown by a giventhrowingCallable
which allows to chain assertions on the thrown exception.Assumptions.assumeThatIllegalArgumentException()
Assumptions.assumeThatIndexOutOfBoundsException()
static ThrowableTypeAssert
<IOException> Assumptions.assumeThatIOException()
Alias forAssumptions.assumeThatExceptionOfType(Class)
forIOException
.Assumptions.assumeThatNullPointerException()
Alias forAssumptions.assumeThatExceptionOfType(Class)
forNullPointerException
.Assumptions.assumeThatReflectiveOperationException()
static ThrowableTypeAssert
<RuntimeException> Assumptions.assumeThatRuntimeException()
Alias forAssumptions.assumeThatExceptionOfType(Class)
forRuntimeException
.ThrowableTypeAssert.describedAs
(Description description) Sets the description of the assertion that is going to be called after.static ThrowableTypeAssert
<Exception> BDDAssumptions.givenException()
Alias forBDDAssumptions.givenExceptionOfType(Class)
forException
.static <T extends Throwable>
ThrowableTypeAssert<T> BDDAssumptions.givenExceptionOfType
(Class<? extends T> exceptionType) Creates a new assumption's instance for aThrowable
value.BDDAssumptions.givenIllegalArgumentException()
BDDAssumptions.givenIndexOutOfBoundsException()
static ThrowableTypeAssert
<IOException> BDDAssumptions.givenIOException()
Alias forBDDAssumptions.givenExceptionOfType(Class)
forIOException
.BDDAssumptions.givenNullPointerException()
Alias forBDDAssumptions.givenExceptionOfType(Class)
forNullPointerException
.BDDAssumptions.givenReflectiveOperationException()
static ThrowableTypeAssert
<RuntimeException> BDDAssumptions.givenRuntimeException()
Alias forBDDAssumptions.givenExceptionOfType(Class)
forRuntimeException
.static ThrowableTypeAssert
<Exception> BDDAssertions.thenException()
Alias forBDDAssertions.thenExceptionOfType(Class)
forException
.default ThrowableTypeAssert
<Exception> Java6BDDSoftAssertionsProvider.thenException()
static <T extends Throwable>
ThrowableTypeAssert<T> BDDAssertions.thenExceptionOfType
(Class<? extends T> exceptionType) Entry point to check that an exception of type T is thrown by a giventhrowingCallable
which allows to chain assertions on the thrown exception.default <T extends Throwable>
ThrowableTypeAssert<T> Java6BDDSoftAssertionsProvider.thenExceptionOfType
(Class<T> throwableType) Entry point to check that an exception of type T is thrown by a giventhrowingCallable
which allows to chain assertions on the thrown exception.BDDAssertions.thenIllegalArgumentException()
Alias forBDDAssertions.thenExceptionOfType(Class)
forIllegalArgumentException
.Java6BDDSoftAssertionsProvider.thenIllegalArgumentException()
BDDAssertions.thenIllegalStateException()
Alias forBDDAssertions.thenExceptionOfType(Class)
forIllegalStateException
.default ThrowableTypeAssert
<IllegalStateException> Java6BDDSoftAssertionsProvider.thenIllegalStateException()
BDDAssertions.thenIndexOutOfBoundsException()
Java6BDDSoftAssertionsProvider.thenIndexOutOfBoundsException()
static ThrowableTypeAssert
<IOException> BDDAssertions.thenIOException()
Alias forBDDAssertions.thenExceptionOfType(Class)
forIOException
.default ThrowableTypeAssert
<IOException> Java6BDDSoftAssertionsProvider.thenIOException()
BDDAssertions.thenNullPointerException()
Alias forBDDAssertions.thenExceptionOfType(Class)
forNullPointerException
.default ThrowableTypeAssert
<NullPointerException> Java6BDDSoftAssertionsProvider.thenNullPointerException()
BDDAssertions.thenReflectiveOperationException()
Java6BDDSoftAssertionsProvider.thenReflectiveOperationException()
static ThrowableTypeAssert
<RuntimeException> BDDAssertions.thenRuntimeException()
Alias forBDDAssertions.thenExceptionOfType(Class)
forRuntimeException
.default ThrowableTypeAssert
<RuntimeException> Java6BDDSoftAssertionsProvider.thenRuntimeException()