Class JqwikExceptionSupport

java.lang.Object
net.jqwik.engine.support.JqwikExceptionSupport

public class JqwikExceptionSupport extends Object
  • Constructor Details

    • JqwikExceptionSupport

      public JqwikExceptionSupport()
  • Method Details

    • throwAsUncheckedException

      public static <T> T throwAsUncheckedException(Throwable t)
      Throw the supplied Throwable, 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(Throwable exception)