public class JetStreamStatusException
extends java.lang.IllegalStateException
| Constructor and Description |
|---|
JetStreamStatusException(JetStreamSubscription sub,
Status status)
Construct an exception with a status message
|
| Modifier and Type | Method and Description |
|---|---|
Status |
getStatus()
Get the full status object
|
JetStreamSubscription |
getSubscription()
Get the subscription this issue occurred on
|
public JetStreamStatusException(JetStreamSubscription sub, Status status)
sub - the subscriptionstatus - the statuspublic JetStreamSubscription getSubscription()
public Status getStatus()