Package me.bristermitten.mittenlib.util
Class Errors
java.lang.Object
me.bristermitten.mittenlib.util.Errors
Utility class for dealing with
Throwable
s-
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends Throwable>
voidSneakily throw a checked exception as an unchecked exception
-
Method Details
-
sneakyThrow
Sneakily throw a checked exception as an unchecked exception- Type Parameters:
E
- the type of the exception- Parameters:
e
- the exception to throw- Throws:
E
- the exception
-