[GitHub] [httpcomponents-core] arturobernalg commented on pull request #332: Do not explicitly declare runtime exceptions.

2021-11-21 Thread GitBox


arturobernalg commented on pull request #332:
URL: 
https://github.com/apache/httpcomponents-core/pull/332#issuecomment-974617494


   https://docs.oracle.com/javase/tutorial/essential/exceptions/runtime.html
   
   "Having to add runtime exceptions in every method declaration would reduce a 
program's clarity. Thus, the compiler does not require that you catch or 
specify runtime exceptions (although you can)." 


-- 
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: dev-unsubscr...@hc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org



[GitHub] [httpcomponents-core] arturobernalg commented on pull request #332: Do not explicitly declare runtime exceptions.

2021-11-20 Thread GitBox


arturobernalg commented on pull request #332:
URL: 
https://github.com/apache/httpcomponents-core/pull/332#issuecomment-974617494


   https://docs.oracle.com/javase/tutorial/essential/exceptions/runtime.html
   
   "Having to add runtime exceptions in every method declaration would reduce a 
program's clarity. Thus, the compiler does not require that you catch or 
specify runtime exceptions (although you can)." 


-- 
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: dev-unsubscr...@hc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org



[GitHub] [httpcomponents-core] arturobernalg commented on pull request #332: Do not explicitly declare runtime exceptions.

2021-11-19 Thread GitBox


arturobernalg commented on pull request #332:
URL: 
https://github.com/apache/httpcomponents-core/pull/332#issuecomment-974316378


   > @arturobernalg I do not find this change-set useful. What does it improve 
exactly?
   
   HI. @ok2c 
   Is just a good practice. help to make the code more readable and simple. 
Imagine that start documenting  all the RuntimeExceptions? 
   TY 


-- 
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: dev-unsubscr...@hc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org