java.lang.Object
com.fasterxml.jackson.module.blackbird.util.Sneaky

public class Sneaky extends Object
  • Constructor Details

    • Sneaky

      private Sneaky()
  • Method Details

    • throwAnyway

      public static RuntimeException throwAnyway(Throwable t)
      Will always throw an exception, so the caller should also always throw the dummy return value to make sure the control flow remains clear.
    • throwEvadingChecks

      private static <E extends Throwable> void throwEvadingChecks(Throwable throwable) throws E
      Throws:
      E