Class RewriteCardinalityException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    RewriteEarlyExitException, RewriteEmptyStreamException

    public class RewriteCardinalityException
    extends java.lang.RuntimeException
    Base class for all exceptions thrown during AST rewrite construction. This signifies a case where the cardinality of two or more elements in a subrule are different: (ID INT)+ where |ID|!=|INT|
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String elementDescription  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • elementDescription

        public java.lang.String elementDescription
    • Constructor Detail

      • RewriteCardinalityException

        public RewriteCardinalityException​(java.lang.String elementDescription)
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable