package de.tu_darmstadt.gdi1.plumber.view.tudframework;

/*============================================================================*/

/**
 * Exception that is thrown whenever a method's parameter falls out of the scope
 * of allowed values
 * 
 * @author Steven Arzt, Oren Avni, Guido Roessling
 * @version 1.1
 */
public class InvalidOperationException extends Exception {

	/* ======================================================================== */

	private static final long serialVersionUID = 1L;

	/* ======================================================================== */

	/**
	 * Creates a new instance of the InvalidOperationException class
	 * 
	 * @param errorMessage
	 *            A string description of the reason why this operation is
	 *            invalid
	 */

	public InvalidOperationException (String errorMessage) {
		super(errorMessage);
	}
	
	/* ======================================================================== */

	/**
	 * Creates a new instance of the InvalidOperationException class
	 * 
	 * @param cause
	 *            The original exception that has lead to the error
	 */

	public InvalidOperationException (Throwable cause) {
		super (cause);
	}

	/* ======================================================================== */

}

/* ============================================================================ */
