public final class IgnoreCompletionFailures extends Object
CompletionFailure
exceptions thrown from the Java compiler.
Such exceptions "disappear" when the method is re-tried which this helper enables.Modifier and Type | Class and Description |
---|---|
static interface |
IgnoreCompletionFailures.Fn0<R> |
static interface |
IgnoreCompletionFailures.Fn1<R,T> |
static interface |
IgnoreCompletionFailures.Fn2<R,T1,T2> |
static interface |
IgnoreCompletionFailures.Fn3<R,T1,T2,T3> |
static interface |
IgnoreCompletionFailures.VoidFn0 |
static interface |
IgnoreCompletionFailures.VoidFn1<T> |
static interface |
IgnoreCompletionFailures.VoidFn2<T1,T2> |
static interface |
IgnoreCompletionFailures.VoidFn3<T1,T2,T3> |
Modifier and Type | Method and Description |
---|---|
static <R> R |
in(IgnoreCompletionFailures.Fn0<R> action) |
static <R,T> R |
in(IgnoreCompletionFailures.Fn1<R,T> action,
T arg) |
static <R,T1,T2> R |
in(IgnoreCompletionFailures.Fn2<R,T1,T2> action,
T1 arg1,
T2 arg2) |
static <R,T1,T2,T3> |
in(IgnoreCompletionFailures.Fn3<R,T1,T2,T3> action,
T1 arg1,
T2 arg2,
T3 arg3) |
static void |
inVoid(IgnoreCompletionFailures.VoidFn0 action) |
static <T> void |
inVoid(IgnoreCompletionFailures.VoidFn1<T> action,
T arg) |
static <T1,T2> void |
inVoid(IgnoreCompletionFailures.VoidFn2<T1,T2> action,
T1 arg1,
T2 arg2) |
static <T1,T2,T3> void |
inVoid(IgnoreCompletionFailures.VoidFn3<T1,T2,T3> action,
T1 arg1,
T2 arg2,
T3 arg3) |
public static <R> R in(IgnoreCompletionFailures.Fn0<R> action)
public static void inVoid(IgnoreCompletionFailures.VoidFn0 action)
public static <R,T> R in(IgnoreCompletionFailures.Fn1<R,T> action, T arg)
public static <T> void inVoid(IgnoreCompletionFailures.VoidFn1<T> action, T arg)
public static <R,T1,T2> R in(IgnoreCompletionFailures.Fn2<R,T1,T2> action, T1 arg1, T2 arg2)
public static <T1,T2> void inVoid(IgnoreCompletionFailures.VoidFn2<T1,T2> action, T1 arg1, T2 arg2)
public static <R,T1,T2,T3> R in(IgnoreCompletionFailures.Fn3<R,T1,T2,T3> action, T1 arg1, T2 arg2, T3 arg3)
public static <T1,T2,T3> void inVoid(IgnoreCompletionFailures.VoidFn3<T1,T2,T3> action, T1 arg1, T2 arg2, T3 arg3)
Copyright © 2014-2021 Lukas Krejci. All Rights Reserved.