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

org.javasimon.SimonException Maven / Gradle / Ivy

The newest version!
package org.javasimon;

/**
 * SimonException is runtime exception thrown in case something goes seriously wrong (class cast or similar).
 *
 * @author Richard "Virgo" Richter
 */
public final class SimonException extends RuntimeException {

	/**
	 * Creates SimonException with the message.
	 *
	 * @param message exception message
	 */
	public SimonException(String message) {
		super(message);
	}

	/**
	 * Creates SimonException with the chained exception causing this exception.
	 *
	 * @param cause chained exception
	 */
	public SimonException(Throwable cause) {
		super(cause);
	}

	/**
	 * Creates SimonException with message and the chained exception causing this exception.
	 *
	 * @param message exception message
	 * @param cause chained exception
	 */
	public SimonException(String message, Throwable cause) {
		super(message, cause);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy