Class RejectedSubscribeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.servicetalk.concurrent.internal.RejectedSubscribeException
All Implemented Interfaces:
RejectedSubscribeError, Serializable
Direct Known Subclasses:
DuplicateSubscribeException

public class RejectedSubscribeException extends RuntimeException implements RejectedSubscribeError
Used in scenarios where a subscribe to an asynchronous source is attempted, but no "real" subscription is established. In other words the subscribe operation was rejected.
See Also:
  • Constructor Details

    • RejectedSubscribeException

      public RejectedSubscribeException(String message)
      Create a new instance.
      Parameters:
      message - The exception message.
    • RejectedSubscribeException

      public RejectedSubscribeException(Throwable cause)
      Create a new instance.
      Parameters:
      cause - The cause of the exception.