[
https://issues.apache.org/jira/browse/GEOMETRY-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Juntunen resolved GEOMETRY-137.
------------------------------------
Resolution: Fixed
> SimpleTextParser should throw ParseException for too long string
> ----------------------------------------------------------------
>
> Key: GEOMETRY-137
> URL: https://issues.apache.org/jira/browse/GEOMETRY-137
> Project: Apache Commons Geometry
> Issue Type: Bug
> Reporter: Matt Juntunen
> Priority: Major
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)