Class Sneaky
java.lang.Object
com.fasterxml.jackson.module.blackbird.util.Sneaky
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RuntimeException
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>
voidthrowEvadingChecks
(Throwable throwable)
-
Constructor Details
-
Sneaky
private Sneaky()
-
-
Method Details
-
throwAnyway
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
- Throws:
E
-