Hacker News new | past | comments | ask | show | jobs | submit login

Exceptions in Python are automatically runtime errors and will stop execution with a useful error message if they aren't caught. Is this not true in Java?

In Python, you don't need to add a try/catch block unless you specifically need to do something and continue execution after an exception.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: