Class JqwikExceptionSupport


  • public class JqwikExceptionSupport
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void rethrowIfBlacklisted​(java.lang.Throwable exception)  
      static <T> T throwAsUncheckedException​(java.lang.Throwable t)
      Throw the supplied Throwable, masked as an unchecked exception.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JqwikExceptionSupport

        public JqwikExceptionSupport()
    • Method Detail

      • throwAsUncheckedException

        public static <T> T throwAsUncheckedException​(java.lang.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​(java.lang.Throwable exception)