commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ate Douma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SCXML-229) Prefer unchecked exceptions
Date Sun, 10 Dec 2017 22:19:00 GMT

     [ https://issues.apache.org/jira/browse/SCXML-229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ate Douma updated SCXML-229:
----------------------------
    Priority: Minor  (was: Major)

> Prefer unchecked exceptions
> ---------------------------
>
>                 Key: SCXML-229
>                 URL: https://issues.apache.org/jira/browse/SCXML-229
>             Project: Commons SCXML
>          Issue Type: Improvement
>    Affects Versions: 2.0
>            Reporter: Adam Bien
>            Priority: Minor
>
> Several methods pass checked exceptions directly to the user: 
> e.g. SCXMLReader.read()
> Catching checked exceptions inside the method and exposing them as unchecked exceptions
would improve the usability and encapsulation. E.g. currently the method read throws XMLStreamException
and reveals the fact that javax.xml.stream was used for parsing.
> See e.g. the JPA API in Java EE.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message