commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Bien (JIRA)" <>
Subject [jira] [Created] (SCXML-229) Prefer unchecked exceptions
Date Mon, 04 May 2015 06:55:05 GMT
Adam Bien created SCXML-229:

             Summary: Prefer unchecked exceptions
                 Key: SCXML-229
             Project: Commons SCXML
          Issue Type: Improvement
    Affects Versions: 2.0
            Reporter: Adam Bien

Several methods pass checked exceptions directly to the user: 


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 was used for parsing.

See e.g. the JPA API in Java EE.

This message was sent by Atlassian JIRA

View raw message