Jump to content
Wagner Landgraf

Is it possible that an exception does not inherits from Exception class?

Recommended Posts

I assumed any unmatched on-events would have been silenced.

If E is nil - logging will be incomplete in some cases, since I pass the exception object to Eurekalog to capture a callstack for the log.

It probably would be quite rare, though.

 

 

Share this post


Link to post
1 hour ago, Lars Fosdal said:

I am starting to wonder if they should be rewritten

 I did not blanket re-write my handlers. I started from the top down combined with refactoring.

 

From a debugger session point of view, it gives you a place to set a break point. That means you have to set 2 breakpoints.
 

Share this post


Link to post

I'm in the same ballpark as Lars. Quite often these are toplevel handlers for tcp/udp ip/comport etc threads.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×