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

edu.isi.nlp.parameters.exceptions.ParseFailureException Maven / Gradle / Ivy

The newest version!
package edu.isi.nlp.parameters.exceptions;

import java.io.File;

public class ParseFailureException extends ParameterFileException {

  private static final long serialVersionUID = 1L;

  public ParseFailureException(
      final String error, final String line, final File filename, final int lineNumber) {
    super(String.format("%s: Line %d of %s: %s", error, lineNumber, filename, line));
  }

  public ParseFailureException(final String message) {
    super(message);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy