Package net.jqwik.engine.support
Class JqwikExceptionSupport
- java.lang.Object
-
- net.jqwik.engine.support.JqwikExceptionSupport
-
public class JqwikExceptionSupport extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description JqwikExceptionSupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidrethrowIfBlacklisted(java.lang.Throwable exception)static <T> TthrowAsUncheckedException(java.lang.Throwable t)Throw the suppliedThrowable, masked as an unchecked exception.
-
-
-
Method Detail
-
throwAsUncheckedException
public static <T> T throwAsUncheckedException(java.lang.Throwable t)
Throw the suppliedThrowable, masked as an unchecked exception.- Type Parameters:
T- type of the value to return- Parameters:
t- the Throwable to be wrapped- Returns:
- Fake return to make using the method a bit simpler
-
rethrowIfBlacklisted
public static void rethrowIfBlacklisted(java.lang.Throwable exception)
-
-