Package io.reactivex.rxjava3.exceptions
Class MissingBackpressureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.reactivex.rxjava3.exceptions.MissingBackpressureException
- All Implemented Interfaces:
Serializable
Indicates that an operator attempted to emit a value but the downstream wasn't ready for it.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The default error message.private static final long
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a MissingBackpressureException without message or cause.MissingBackpressureException
(String message) Constructs a MissingBackpressureException with the given message but no cause. -
Method Summary
Modifier and TypeMethodDescriptionstatic MissingBackpressureException
Constructs a newMissingBackpressureException
with the default message "Could not emit value due to lack of requests".Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
DEFAULT_MESSAGE
The default error message.This can happen if the downstream doesn't call
Subscription.request(long)
in time or at all.- Since:
- 3.1.6
- See Also:
-
-
Constructor Details
-
MissingBackpressureException
public MissingBackpressureException()Constructs a MissingBackpressureException without message or cause. -
MissingBackpressureException
Constructs a MissingBackpressureException with the given message but no cause.- Parameters:
message
- the error message
-
-
Method Details
-
createDefault
Constructs a newMissingBackpressureException
with the default message "Could not emit value due to lack of requests".- Returns:
- the new
MissingBackpressureException
instance. - Since:
- 3.1.6
-