
org.elder.sourcerer.esjc.EventStoreSubscriptionStoppedException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sourcerer-esjc Show documentation
Show all versions of sourcerer-esjc Show documentation
An opinionated framework for implementing an CQRS architecture using event sourcing
The newest version!
package org.elder.sourcerer.esjc;
import com.github.msemys.esjc.SubscriptionDropReason;
public class EventStoreSubscriptionStoppedException extends Throwable {
private final SubscriptionDropReason reason;
private final Exception exception;
public EventStoreSubscriptionStoppedException(
final SubscriptionDropReason reason,
final Exception exception) {
super(exception);
this.reason = reason;
this.exception = exception;
}
public SubscriptionDropReason getReason() {
return reason;
}
public Exception getException() {
return exception;
}
@Override
public String toString() {
return "EventStoreSubscriptionStoppedException{" +
"reason=" + reason +
", exception=" + exception +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy