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:
java.io.Serializable
public final class MissingBackpressureException extends java.lang.RuntimeException
Indicates that an operator attempted to emit a value but the downstream wasn't ready for it.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_MESSAGE
The default error message.private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description MissingBackpressureException()
Constructs a MissingBackpressureException without message or cause.MissingBackpressureException(java.lang.String message)
Constructs a MissingBackpressureException with the given message but no cause.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MissingBackpressureException
createDefault()
Constructs a newMissingBackpressureException
with the default message "Could not emit value due to lack of requests".
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
DEFAULT_MESSAGE
public static final java.lang.String 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:
- Constant Field Values
-
-
Constructor Detail
-
MissingBackpressureException
public MissingBackpressureException()
Constructs a MissingBackpressureException without message or cause.
-
MissingBackpressureException
public MissingBackpressureException(java.lang.String message)
Constructs a MissingBackpressureException with the given message but no cause.- Parameters:
message
- the error message
-
-
Method Detail
-
createDefault
public static MissingBackpressureException 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
-
-