Class RejectedSubscribeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.servicetalk.concurrent.internal.RejectedSubscribeException
-
- All Implemented Interfaces:
RejectedSubscribeError
,java.io.Serializable
- Direct Known Subclasses:
DuplicateSubscribeException
public class RejectedSubscribeException extends java.lang.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RejectedSubscribeException(java.lang.String message)
Create a new instance.RejectedSubscribeException(java.lang.Throwable cause)
Create a new instance.
-
-
-
Constructor Detail
-
RejectedSubscribeException
public RejectedSubscribeException(java.lang.String message)
Create a new instance.- Parameters:
message
- The exception message.
-
RejectedSubscribeException
public RejectedSubscribeException(java.lang.Throwable cause)
Create a new instance.- Parameters:
cause
- The cause of the exception.
-
-