All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openmetadata.service.events.errors.EventPublisherException Maven / Gradle / Ivy

There is a newer version: 1.5.11
Show newest version
package org.openmetadata.service.events.errors;

import java.io.Serial;
import java.util.UUID;
import lombok.Getter;
import org.apache.commons.lang3.tuple.Pair;
import org.openmetadata.schema.type.ChangeEvent;

@Getter
public class EventPublisherException extends Exception {
  @Serial private static final long serialVersionUID = 1L;

  private Pair changeEventWithSubscription;

  public EventPublisherException(String message, Throwable cause) {
    super(message, cause);
  }

  public EventPublisherException(String message) {
    super(message);
  }

  public EventPublisherException(
      String message, Pair failedSubscriptionChangeEvent) {
    super(message);
    this.changeEventWithSubscription = failedSubscriptionChangeEvent;
  }

  public EventPublisherException(Throwable cause) {
    super(cause);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy