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

org.ow2.mind.cli.InvalidCommandLineException Maven / Gradle / Ivy

The newest version!
package org.ow2.mind.cli;

/**
 * Exception thrown when an error on the command line has been detected.
 */
public class InvalidCommandLineException extends Exception {

  protected final int exitValue;

  /**
   * @param message detail message.
   * @param exitValue exit value.
   */
  public InvalidCommandLineException(final String message, final int exitValue) {
    super(message);
    this.exitValue = exitValue;
  }

  /**
   * @return the exit value.
   */
  public int getExitValue() {
    return exitValue;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy