LockException.java

package org.microspace.exception;

import java.io.Serializable;

/**
 * This exception can occur during concurrent modification during commit.
 * 
 * @author Gaspar Sinai - {@literal gaspar.sinai@microspace.org}
 * @version 2016-06-26
 */
public class LockException extends RuntimeException implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 848430746431375127L;
	/**
	 * Constructs a new exception with null as its detail message.
	 */
	public LockException () {
		super();
	}
	/**
	 * Constructs a new exception with the specified detail message.
	 * @param message the detail message
	 */
	public LockException (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 LockException (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 LockException (Throwable cause) {
		super (cause);
	}

}