LWN.net Logo

Exception traces

Exception traces

Posted Jul 6, 2012 8:05 UTC (Fri) by man_ls (subscriber, #15091)
In reply to: Exception traces by twm
Parent article: Quotes of the week

Well, then I suppose you need both exceptions and stack traces. The idea being that the stack trace is generated automatically by the runtime environment at the point that throws the exception and handled in the catch clause. Without exceptions stack traces have to be generated manually, which is not useful for unexpected error conditions.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds