Uses of Annotation Type
io.vavr.control.GwtIncompatible
Packages that use GwtIncompatible
Package
Description
-
Uses of GwtIncompatible in io.vavr.control
Methods in io.vavr.control with annotations of type GwtIncompatibleModifier and TypeMethodDescriptionTry.mapFailure(@NonNull API.Match.Case<? extends Throwable, ? extends Throwable> @NonNull ... cases) Transforms the cause of thisTry.Failureusing the given sequence of match cases.Performs the given action if thisTryis aTry.Failureand the cause is an instance of the specified type.Attempts to recover from a failure if the cause is an instance of the specified exception type.Recovers thisTrywith the givenvalueif this is aTry.Failureand the underlying cause matches the specifiedexceptionType.Try.recoverWith(@NonNull Class<X> exceptionType, @NonNull Try<? extends T> recovered) Recovers thisTrywith the givenrecoveredvalue if this is aTry.Failureand the underlying cause is assignable to the specifiedexceptionType.Try.recoverWith(@NonNull Class<X> exceptionType, @NonNull Function<? super X, Try<? extends T>> f) Attempts to recover from a failure by applying the given recovery function if the cause matches the specified exception type.