View Javadoc
1   package locklib;
2   
3   /**
4    * Exception thrown when an operation expecting a locked lock finds an
5    * unlocked lock.
6    */
7   public class NotLockedException 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 NotLockedException(String description) {
18  		super(description);
19  	}
20  }