package it.fabioformosa.quartzmanager.api.exceptions;

import lombok.Getter;
import lombok.Setter;

@Getter @Setter
public class ResourceConflictException extends RuntimeException {

  private static final long serialVersionUID = 1791564636123821405L;

  public ResourceConflictException(Long resourceId, String message) {
    super("Conflict on resourceID " + resourceId + " " + message);
  }

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

}
