Class TryIgnore
java.lang.Object
ua.mcchickenstudio.opencreative.utils.async.TryIgnore
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interfacestatic interface -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends Throwable>
voidstatic <T> Predicate<T> ignore(TryIgnore.PredicateThrows<T> predicate, boolean def) ignore(TryIgnore.RunnableThrows runnable) ignore(TryIgnore.RunnableThrows runnable, Consumer<Throwable> consumer) static <T> Tignore(TryIgnore.SupplierThrows<T> supplier, T def) static <T> Predicate<T> unchecked(TryIgnore.PredicateThrows<T> predicate) static voidunchecked(TryIgnore.RunnableThrows runnable) static <T> Tunchecked(TryIgnore.SupplierThrows<T> supplier)
-
Field Details
-
throwableHandler
-
-
Constructor Details
-
TryIgnore
public TryIgnore()
-
-
Method Details
-
unchecked
-
unchecked
-
unchecked
-
ignore
-
ignore
-
ignore
public static Optional<Throwable> ignore(TryIgnore.RunnableThrows runnable, Consumer<Throwable> consumer) -
ignore
-
doThrow0
-