Posted Oct 27, 2012 10:41 UTC (Sat) by man_ls
In reply to: No thanks.
Parent article: Haley: We're doing an ARM64 OpenJDK port!
With well coded programs a stack trace is all that is needed 99% of the time, or at least that is my experience. You can save the bit about "consistent error logging" and still spot errors.
There are weird occasions where e.g. the Android platform eats up your stack trace and generates its own, but that is not usually the case.
As to checked exceptions, they look good but in practice lead to byzantine exception hierarchies and hyper-delicate error handling, not well suited for humans (or for teams). Unchecked exceptions are good in that you don't need to handle all possible situations. In a web application you can just catch them at the root level, log them and print an HTTP 500 page; the user is not going to care at the moment as to why you are not showing the info they want, and the admins get a nice stack trace -- see above.
to post comments)