Class Exceptions

java.lang.Object
me.ahoo.cosid.util.Exceptions

@ThreadSafe public final class Exceptions extends Object
Exception tool class.
  • Method Details

    • invokeUnchecked

      public static <T> T invokeUnchecked(Exceptions.CheckedFunction<T> checkedFunction)
      invoke Checked Exception Function as Unchecked.
      Type Parameters:
      T - return type
      Parameters:
      checkedFunction - Checked Exception Function.
      Returns:
      result