cz.cuni.amis.pogamut.sposh.exceptions
Class CycleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.cuni.amis.pogamut.sposh.elements.ParseException
cz.cuni.amis.pogamut.sposh.exceptions.CycleException
- All Implemented Interfaces:
- Serializable
public class CycleException
- extends ParseException
When there is a cycle in the posh tree, this exception should be thrown.
Use in methods adding elements to the tree. Cycle in the tree is
a sequence of elements, that link to each other and last one links to the first one
(e.g. (AP ap1 ap2) (AP ap2 ap1))
- Author:
- Honza
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CycleException
public CycleException(String message)
createFromName
public static CycleException createFromName(String name)
- Create a new exception that specifies which name caused the cycle.
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.