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(API.Match.Case<? extends Throwable, ? extends Throwable>... cases) Maps the cause to a new exception if this is aFailureor returns this instance if this is aSuccess.Consumes the cause if this is aTry.Failureand the cause is instance ofX.Returnsthis, if this is aSuccessor this is aFailureand the cause is not assignable fromcause.getClass().Returnsthis, if this is aTry.Successor this is aFailureand the cause is not assignable fromcause.getClass().Try.recoverWith(Class<X> exceptionType, Try<? extends T> recovered) Recovers thisTrywith the givenrecovered, if this is aTry.Failureand the givenexceptionTypeis assignable to the underlying cause type.Try.recoverWith(Class<X> exceptionType, Function<? super X, Try<? extends T>> f) Returnsthis, if this is aSuccessor this is aFailureand the cause is not assignable fromcause.getClass().