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

org.hl7.fhir.r5.terminologies.validation.VSCheckerException Maven / Gradle / Ivy

package org.hl7.fhir.r5.terminologies.validation;

import java.util.List;

import org.hl7.fhir.exceptions.FHIRException;
import org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent;
import org.hl7.fhir.r5.terminologies.utilities.TerminologyServiceErrorClass;
import org.hl7.fhir.utilities.MarkedToMoveToAdjunctPackage;

@MarkedToMoveToAdjunctPackage
public class VSCheckerException extends FHIRException {

  private List issues;
  private boolean warning;
  private TerminologyServiceErrorClass type;
  
  public VSCheckerException(String message, List issues) {
    super(message);
    this.issues = issues;
  }

  public VSCheckerException(String message, List issues, boolean warning) {
    super(message);
    this.issues = issues;
    this.warning = warning;
  }

  public VSCheckerException(String message, List issues, TerminologyServiceErrorClass type) {
    super(message);
    this.issues = issues;
    this.type = type;
  }

  public List getIssues() {
    return issues;
  }

  private static final long serialVersionUID = -5889505119633054187L;

  public boolean isWarning() {
    return warning;
  }

  public TerminologyServiceErrorClass getType() {
    return type;
  }

  public void setType(TerminologyServiceErrorClass type) {
    this.type = type;
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy