Class 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 new MissingBackpressureException 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • 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