Uses of Interface
com.googlecode.catchexception.throwable.ThrowingCallable
Packages that use ThrowingCallable
Package
Description
This public package contains the primary API to catch and verify throwables.
This public package contains alternative APIs to catch and verify throwables.
-
Uses of ThrowingCallable in com.googlecode.catchexception.throwable
Methods in com.googlecode.catchexception.throwable with parameters of type ThrowingCallableModifier and TypeMethodDescriptionstatic void
CatchThrowable.catchThrowable
(ThrowingCallable actor) Use it to catch an throwable and to get access to the thrown throwable (for further verifications).static void
CatchThrowable.catchThrowable
(ThrowingCallable actor, Class<? extends Throwable> clazz) Use it to catch an throwable of a specific type and to get access to the thrown throwable (for further verifications).static void
CatchThrowable.verifyThrowable
(ThrowingCallable actor) Use it to verify that an throwable is thrown and to get access to the thrown throwable (for further verifications).static void
CatchThrowable.verifyThrowable
(ThrowingCallable actor, Class<? extends Throwable> clazz) Use it to verify that an throwable of specific type is thrown and to get access to the thrown throwable (for further verifications). -
Uses of ThrowingCallable in com.googlecode.catchexception.throwable.apis
Methods in com.googlecode.catchexception.throwable.apis with parameters of type ThrowingCallableModifier and TypeMethodDescriptionstatic void
BDDCatchThrowable.when
(ThrowingCallable actor) When.