gnodet commented on PR #2292:
URL: https://github.com/apache/maven/pull/2292#issuecomment-2860229309

   > > Adding checked exceptions to the API which relies on unchecked 
exceptions everywhere is problematic
   > 
   > Thanks for the feedback. But just to clarify — this reflects what the 
current implementation actually does, right? I'm doing this to enforce the 
current API and approach, so I’d suggest we state things as they are and move 
forward from there.
   
   Currently, the API is designed to throw XmlReaderException.  Check the 
implemented interface, there's no IOException thrown here.
   
   > Otherwise, I’d consider removing the `IOException` check — it might 
actually be causing issues. That’s why I want to enforce and challenge this 
behavior. The tests and interface should make the actual behavior and 
requirements clear.
   > 
   > I'm not fully aware of all the requirements, but ideally, we can follow 
`TDD` and `refactor aggressively` to reveal the final version of the code and 
`surface the core business logic`.
   
   Not sure what you mean exactly, but refactoring is not supposed to change 
the API in any way.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to