IllegalOperationException.java
package org.microspace.exception;
import java.io.Serializable;
/**
* This exception is called when an illegal operation was made.
*
* @author Gaspar Sinai - {@literal gaspar.sinai@microspace.org}
* @version 2016-06-26
*/
public class IllegalOperationException extends RuntimeException implements Serializable {
/**
*
*/
private static final long serialVersionUID = 20120609123000L;
/**
* Constructs a new exception with null as its detail message.
*/
public IllegalOperationException () {
super();
}
/**
* Constructs a new exception with the specified detail message.
* @param message the detail message
*/
public IllegalOperationException (String message) {
super (message);
}
/**
* Constructs a new exception with the specified detail message and cause.
* @param message the detail message
* @param cause the cause
*/
public IllegalOperationException (String message, Throwable cause) {
super(message, cause);
}
/**
* Constructs a new exception with the specified cause and a detail message of cause.
* @param cause the cause
*/
public IllegalOperationException (Throwable cause) {
super (cause);
}
}