View Javadoc
1   package locklib;
2   
3   /**
4    * Exception thrown when a lock is cancelled by another thread and the current
5    * thread was waiting for the lock.
6    */
7   public class LockCancelledException extends RuntimeException {
8   	/**
9   	 * Version for serialization.
10  	 */
11  	private static final long serialVersionUID = 1;
12  	
13  	/**
14  	 * Creates a new exception.
15  	 * @param description a description of the exception
16  	 */
17  	public LockCancelledException(String description) {
18  		super(description);
19  	}
20  }