Class UnexpectedCharacterException

All Implemented Interfaces:
Serializable

public class UnexpectedCharacterException extends ParseException
Thrown when attempting to consume a character of unexpected types.

This exception is a wrapper exception extending ParseException.

Since:
0.8.0
Author:
Zafar Khaja <zafarkhaja@gmail.com>
See Also:
  • Method Details

    • toString

      public String toString()
      Returns the string representation of this exception containing the information about the unexpected element and, if available, about the expected types.
      Overrides:
      toString in class ParseException
      Returns:
      the string representation of this exception