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

org.onetwo.common.commandline.CommandNotFoundException Maven / Gradle / Ivy

There is a newer version: 4.7.2
Show newest version
package org.onetwo.common.commandline;


public class CommandNotFoundException extends CommandLineException {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 6117722707298643778L;
	/**
	 * 
	 */
	public static final String DEFAULT_MESSAGE = "错误的指令";
	
	public CommandNotFoundException() {
		super(DEFAULT_MESSAGE);
	}

	public CommandNotFoundException(String message) {
		super(message);
	}

	public CommandNotFoundException(String message, String code) {
		super(message, code);
	}

	public CommandNotFoundException(Throwable cause) {
		super(DEFAULT_MESSAGE, cause);
	}

	protected String getDefaultCode(){
		return CommandLineErrorCode.COMMAND_NOT_FOUND;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy