public final class DuplicateSubscribeException extends RejectedSubscribeException
Constructor and Description |
---|
DuplicateSubscribeException(java.lang.Object existingSubscriber,
java.lang.Object attemptedSubscriber)
Create a new instance.
|
DuplicateSubscribeException(java.lang.Object existingSubscriber,
java.lang.Object attemptedSubscriber,
java.lang.String message)
Create a new instance.
|
public DuplicateSubscribeException(@Nullable java.lang.Object existingSubscriber, java.lang.Object attemptedSubscriber)
existingSubscriber
- The existing subscriber, or state that prevented the subscribe from completing.attemptedSubscriber
- The subscriber which failed to subscribe.public DuplicateSubscribeException(@Nullable java.lang.Object existingSubscriber, java.lang.Object attemptedSubscriber, java.lang.String message)
existingSubscriber
- The existing subscriber, or state that prevented the subscribe from completing.attemptedSubscriber
- The subscriber which failed to subscribe.message
- An optional message clarifying the situation.