org.drools.lang
Class DroolsMissingTokenException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.antlr.runtime.RecognitionException
              extended by org.antlr.runtime.MismatchedTokenException
                  extended by org.antlr.runtime.MissingTokenException
                      extended by org.drools.lang.DroolsMissingTokenException
All Implemented Interfaces:
Serializable

public class DroolsMissingTokenException
extends org.antlr.runtime.MissingTokenException

A mismatched token exception that properly resolves ID tokens into soft keywords

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.antlr.runtime.MissingTokenException
inserted
 
Fields inherited from class org.antlr.runtime.MismatchedTokenException
expecting
 
Fields inherited from class org.antlr.runtime.RecognitionException
approximateLineInfo, c, charPositionInLine, index, input, line, node, token
 
Constructor Summary
DroolsMissingTokenException()
           
DroolsMissingTokenException(int expecting, String text, org.antlr.runtime.IntStream input, Object inserted)
           
 
Method Summary
 String getTokenText()
           
 String toString()
           
 
Methods inherited from class org.antlr.runtime.MissingTokenException
getMissingType
 
Methods inherited from class org.antlr.runtime.RecognitionException
extractInformationFromTreeNodeStream, getUnexpectedType
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DroolsMissingTokenException

public DroolsMissingTokenException()

DroolsMissingTokenException

public DroolsMissingTokenException(int expecting,
                                   String text,
                                   org.antlr.runtime.IntStream input,
                                   Object inserted)
Method Detail

getTokenText

public String getTokenText()

toString

public String toString()
Overrides:
toString in class org.antlr.runtime.MissingTokenException


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.