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

net.didion.jwnl.JWNLRuntimeException Maven / Gradle / Ivy

/**
 * Java WordNet Library (JWNL)
 * See the documentation for copyright information.
 */
package net.didion.jwnl;



/** Base level runtime exception used by JWNL. Tries to resolve the message using JWNL.resolveMessage. */
public class JWNLRuntimeException extends RuntimeException {
	public JWNLRuntimeException(String key) {
		super(JWNL.resolveMessage(key));
	}

	public JWNLRuntimeException(String key, Object arg) {
		super(JWNL.resolveMessage(key, arg));
	}

	public JWNLRuntimeException(String key, Object[] args) {
		super(JWNL.resolveMessage(key, args));
	}

	public JWNLRuntimeException(String key, Throwable cause) {
		super(JWNL.resolveMessage(key), cause);
	}

	public JWNLRuntimeException(String key, Object[] args, Throwable cause) {
		super(JWNL.resolveMessage(key, args), cause);
	}

	public JWNLRuntimeException(String key, Object arg, Throwable cause) {
		super(JWNL.resolveMessage(key, arg), cause);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy