Package com.tick42.glue.core.interop.stream.publish

# Class StreamSubscriptionRejectedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tick42.glue.core.GlueException
com.tick42.glue.core.interop.stream.publish.StreamSubscriptionRejectedException

All Implemented Interfaces:
  `Serializable`

    public final class StreamSubscriptionRejectedException
    extends GlueException

Exception indicating that a subscription request was rejected by a `handler`.

See Also:
  Serialized Form

- ## Constructor Summary

  Constructors
  Constructor | Description
  --- | ---
  `StreamSubscriptionRejectedException​(String reason, Instance caller)` |

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `Instance` | `getCaller()` |
  `String` | `getReason()` |

  ### 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

  `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### StreamSubscriptionRejectedException

    public StreamSubscriptionRejectedException​(String reason, Instance caller)

- ## Method Details

  - ### getReason

    public String getReason()

  - ### getCaller

    public Instance getCaller()