Class UniCreateFromKnownFailure<T>
- java.lang.Object
-
- io.smallrye.mutiny.operators.AbstractUni<T>
-
- io.smallrye.mutiny.operators.uni.builders.UniCreateFromKnownFailure<T>
-
- Type Parameters:
T
- the type of the item
- All Implemented Interfaces:
Uni<T>
public class UniCreateFromKnownFailure<T> extends AbstractUni<T>
SpecializedUni
implementation for the case where the failure is known. The failure cannot benull
.
-
-
Constructor Summary
Constructors Constructor Description UniCreateFromKnownFailure(java.lang.Throwable failure)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
subscribe(UniSubscriber<? super T> subscriber)
-
Methods inherited from class io.smallrye.mutiny.operators.AbstractUni
await, cache, convert, emitOn, ifNoItem, log, log, memoize, onCancellation, onFailure, onFailure, onFailure, onItem, onItemOrFailure, onSubscribe, onSubscription, onTermination, repeat, runSubscriptionOn, subscribe, subscribe, toMulti
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.smallrye.mutiny.Uni
call, call, chain, chain, eventually, eventually, flatMap, invoke, invoke, map, plug, replaceIfNullWith, replaceIfNullWith, replaceWith, replaceWith, replaceWith, replaceWithNull, replaceWithVoid, stage, subscribeAsCompletionStage
-
-
-
-
Method Detail
-
subscribe
public void subscribe(UniSubscriber<? super T> subscriber)
- Specified by:
subscribe
in classAbstractUni<T>
-
-