Top Fields Constructors Methods
org.antlr.runtime

public Class NoViableAltException

extends RecognitionException
Class Inheritance

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
NoViableAltException()

Used for remote debugger deserialization

public
NoViableAltException(String grammarDecisionDescription, int decisionNumber, int stateNumber, IntStream input)

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

decisionNumberback to summary
public int decisionNumber
grammarDecisionDescriptionback to summary
public String grammarDecisionDescription
stateNumberback to summary
public int stateNumber

Constructor Detail

NoViableAltExceptionback to summary
public NoViableAltException()

Used for remote debugger deserialization

NoViableAltExceptionback to summary
public NoViableAltException(String grammarDecisionDescription, int decisionNumber, int stateNumber, IntStream 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