1 package locklib;
2
3 /**
4 * Exception thrown setting the parent of a target would make a cycle.
5 */
6 public class CyclicTargetHierarchyException extends RuntimeException {
7 /**
8 * Version for serialization.
9 */
10 private static final long serialVersionUID = 1;
11
12 /**
13 * Creates a new exception.
14 * @param description a description of the exception
15 */
16 public CyclicTargetHierarchyException(String description) {
17 super(description);
18 }
19 }