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 aFailure
or returns this instance if this is aSuccess
.Consumes the cause if this is aTry.Failure
and the cause is instance ofX
.Returnsthis
, if this is aSuccess
or this is aFailure
and the cause is not assignable fromcause.getClass()
.Returnsthis
, if this is aTry.Success
or this is aFailure
and the cause is not assignable fromcause.getClass()
.Try.recoverWith
(Class<X> exceptionType, Try<? extends T> recovered) Recovers thisTry
with the givenrecovered
, if this is aTry.Failure
and the givenexceptionType
is assignable to the underlying cause type.Try.recoverWith
(Class<X> exceptionType, Function<? super X, Try<? extends T>> f) Returnsthis
, if this is aSuccess
or this is aFailure
and the cause is not assignable fromcause.getClass()
.