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

edu.stanford.nlp.io.RuntimeIOException Maven / Gradle / Ivy

Go to download

Stanford Parser processes raw text in English, Chinese, German, Arabic, and French, and extracts constituency parse trees.

The newest version!
package edu.stanford.nlp.io;


/**
 * An unchecked version of {@link java.io.IOException}. Thrown by
 * {@link edu.stanford.nlp.process.Tokenizer} implementing classes,
 * among other things.
 *
 * @author Roger Levy
 * @author Christopher Manning
 */
public class RuntimeIOException extends RuntimeException {

  private static final long serialVersionUID = -8572218999165094626L;

  /**
   * Creates a new exception.
   */
  public RuntimeIOException() {
  }


  /**
   * Creates a new exception with a message.
   *
   * @param message the message for the exception
   */
  public RuntimeIOException(String message) {
    super(message);
  }

  /**
   * Creates a new exception with an embedded cause.
   *
   * @param cause The cause for the exception
   */
  public RuntimeIOException(Throwable cause) {
    super(cause);
  }

  /**
   * Creates a new exception with a message and an embedded cause.
   *
   * @param message the message for the exception
   * @param cause   The cause for the exception
   */
  public RuntimeIOException(String message, Throwable cause) {
    super(message, cause);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy