Matt Juntunen created GEOMETRY-137:
--------------------------------------

             Summary: 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


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)

Reply via email to