Top Fields Constructors Methods
org.antlr.runtime

public Class MismatchedTreeNodeException

extends RecognitionException
Class Inheritance
Imports
org.antlr.runtime.tree.TreeNodeStream

Field Summary

Modifier and TypeField and Description
public int
Inherited from org.antlr.runtime.RecognitionException:
approximateLineInfoccharPositionInLineindexinputlinenodetoken

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Throwable.toString.

Returns a short description of this throwable.
Inherited from org.antlr.runtime.RecognitionException:
extractInformationFromTreeNodeStreamgetUnexpectedType

Field Detail

expectingback to summary
public int expecting

Constructor Detail

MismatchedTreeNodeExceptionback to summary
public MismatchedTreeNodeException()
MismatchedTreeNodeExceptionback to summary
public MismatchedTreeNodeException(int expecting, TreeNodeStream input)

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Throwable.toString.

Doc from java.lang.Throwable.toString.

Returns a short description of this throwable. The result is the concatenation of:

  • the name of the class of this object
  • ": " (a colon and a space)
  • the result of invoking this object's getLocalizedMessage method
If getLocalizedMessage returns null, then just the class name is returned.
Returns:String

a string representation of this throwable.

Annotations
@Override