1 package cz.cuni.amis.pogamut.sposh.exceptions; 2 3 import cz.cuni.amis.pogamut.sposh.elements.ParseException; 4 5 /** 6 * When there is a cycle in the posh tree, this exception should be thrown. 7 * Use in methods adding elements to the tree. Cycle in the tree is 8 * a sequence of elements, that link to each other and last one links to the first one 9 * (e.g. (AP ap1 ap2) (AP ap2 ap1)) 10 * @author Honza 11 */ 12 public class CycleException extends ParseException { 13 public CycleException(String message) { 14 super(message); 15 } 16 }