Top Constructors Methods
com.fasterxml.jackson.module.blackbird.util

public Class Sneaky

extends Object
Class Inheritance
Imports
java.lang.reflect.InvocationTargetException

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
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.

private static <E extends Throwable> void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Sneakyback to summary
private Sneaky()

Method Detail

throwAnywayback to summary
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.

throwEvadingChecksback to summary
private static <E extends Throwable> void throwEvadingChecks(Throwable throwable) throws Throwable-:E
Annotations
@SuppressWarnings:unchecked