Uploaded image for project: 'Commons Geometry'
  1. Commons Geometry
  2. GEOMETRY-137

SimpleTextParser should throw ParseException for too long string

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      The SimpleTextParser class currently throws an IllegalStateException when it encounters a string that exceeds the configured maximum string length. Instead, it should throw a ParseException (internal subclass of IOException) since the long string represents an unexpected input. This will make the behavior consistent with the behavior when other unexpected tokens are encountered.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mattjuntunen Matt Juntunen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: