tag:blogger.com,1999:blog-8797526579651167122.post7554693420145283950..comments2023-12-25T15:44:39.990+00:00Comments on Views of a Coder: Preserving stack trace when catching and re-raising runtime exceptionsThomas Tempelmannhttp://www.blogger.com/profile/17366020023638328512noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-8797526579651167122.post-5947774818987845882013-08-26T17:30:36.946+01:002013-08-26T17:30:36.946+01:00pretty nice idea solving the confusing stack trace...pretty nice idea solving the confusing stack trace when re-raising exceptions. But you will lose some options when (finally) catching the re-raised exception again. You can no longer (usefully) branch the handling code based on the type of the exception using the IsA operator (for example to read specific error properties from downcased custom exceptions), nor you can get and report the type of Tobias Bußmannhttps://www.blogger.com/profile/05632174084118746457noreply@blogger.com