gov.nasa.pds.citool.diff.DiffException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of catalog-legacy Show documentation
Show all versions of catalog-legacy Show documentation
The Legacy Catalog Tool provides functionality for ingesting PDS3 catalog files into the PDS4 infrastructure including the Registry Service.
package gov.nasa.pds.citool.diff;
import java.net.URI;
import java.util.List;
import gov.nasa.pds.tools.LabelParserException;
import gov.nasa.pds.tools.constants.Constants.ProblemType;
public class DiffException extends LabelParserException {
private static final long serialVersionUID = 4633039751184604784L;
private List diffs;
private Integer sourceLineNumber;
private Integer targetLineNumber;
public DiffException(final URI sourceUri,
final Integer sourceLineNumber, final Integer targetLineNumber,
final String key, final List diffs,
final Object... arguments) {
super(sourceUri, targetLineNumber, null, key,
ProblemType.TYPE_MISMATCH, arguments);
this.diffs = diffs;
this.sourceLineNumber = sourceLineNumber;
this.targetLineNumber = targetLineNumber;
}
public List getDiffs() {
return diffs;
}
public Integer getSourceLineNumber() {
return sourceLineNumber;
}
public Integer getTargetLineNumber() {
return targetLineNumber;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy