cz.cuni.amis.pogamut.sposh.exceptions
Class CycleException

Package class diagram package CycleException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by cz.cuni.amis.pogamut.sposh.elements.ParseException
              extended by 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

Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.sposh.elements.ParseException
currentToken, eol, expectedTokenSequences, tokenImage
 
Constructor Summary
CycleException(String message)
           
 
Method Summary
static CycleException createFromName(String name)
          Create a new exception that specifies which name caused the cycle.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CycleException

public CycleException(String message)
Method Detail

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.