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

com.commercetools.sync.commons.exceptions.ReferenceReplacementException Maven / Gradle / Ivy

Go to download

Java Library used to import and/or sync (taking care of changes) data into one or more commercetools projects from external sources such as CSV, XML, JSON, etc.. or even from an already existing commercetools project.

The newest version!
package com.commercetools.sync.commons.exceptions;

import java.util.Set;
import javax.annotation.Nonnull;

public class ReferenceReplacementException extends RuntimeException {
  private final Set causes;

  public ReferenceReplacementException(
      @Nonnull final String message, @Nonnull final Set causes) {
    super(ExceptionUtils.buildMessage(message, causes, 1));
    this.causes = causes;
  }

  public Set getCauses() {
    return causes;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy