Package me.ahoo.cosid.util
Class Exceptions
java.lang.Object
me.ahoo.cosid.util.Exceptions
Exception tool class.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Checked Exception Function. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
invokeUnchecked
(Exceptions.CheckedFunction<T> checkedFunction) invoke Checked Exception Function as Unchecked.
-
Method Details
-
invokeUnchecked
invoke Checked Exception Function as Unchecked.- Type Parameters:
T
- return type- Parameters:
checkedFunction
- Checked Exception Function.- Returns:
- result
-