Package com.google.genai.gaos.utils
Class Exceptions
java.lang.Object
com.google.genai.gaos.utils.Exceptions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interfacestatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExceptioncoerceException(Throwable throwable) static <T> Tstatic <T> Consumer<T>unchecked(Exceptions.CheckedConsumer<T> consumer) static <T,R> Function<T, R> unchecked(Exceptions.CheckedFunction<T, R> fn) static Runnableunchecked(Exceptions.CheckedRunnable runnable) static <T> Supplier<T>unchecked(Exceptions.CheckedSupplier<T> supplier) static RuntimeException
-
Constructor Details
-
Exceptions
public Exceptions()
-
-
Method Details
-
coerceException
-
unchecked
-
rethrow
-
unchecked
-
unchecked
-
unchecked
-
unchecked
-