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

gov.nasa.pds.citool.diff.DiffException Maven / Gradle / Ivy

Go to download

The Legacy Catalog Tool provides functionality for ingesting PDS3 catalog files into the PDS4 infrastructure including the Registry Service.

There is a newer version: 3.1.0
Show newest version
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