You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Matt Juntunen (Jira)" <ji...@apache.org> on 2021/07/25 11:57:00 UTC

[jira] [Commented] (GEOMETRY-138) Use unchecked exceptions in IO modules

    [ https://issues.apache.org/jira/browse/GEOMETRY-138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17386877#comment-17386877 ] 

Matt Juntunen commented on GEOMETRY-138:
----------------------------------------

[~erans], why would we create a library-specific exception type for the IO modules but not for the library in general, i.e. to handle cases such as illegal norms and such? I recall us wanting to stick with JDK exceptions in the general case.

> Use unchecked exceptions in IO modules
> --------------------------------------
>
>                 Key: GEOMETRY-138
>                 URL: https://issues.apache.org/jira/browse/GEOMETRY-138
>             Project: Apache Commons Geometry
>          Issue Type: Improvement
>            Reporter: Matt Juntunen
>            Priority: Major
>
> The IO modules should not throw checked exceptions, e.g. {{IOException}}. Instead, a new unchecked {{GeometryIOException}} class should be created to represent all IO and parsing failures.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)