soenmie / disruptor

Automatically exported from code.google.com/p/disruptor
0 stars 0 forks source link

BatchEventProcessor does not catch types that derive from Error #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Throw an AssertionError when handling an event

What is the expected output? What do you see instead?
I'd like to see the exception handler be triggered. Or alternatively be allowed 
to provide a different hook for handling derived types of Error.

What version of the product are you using? On what operating system?
2.6, different flavors of Linux

Please provide any additional information below.
I am using the Disruptor in Scala. The reproduction step listed above is the 
easiest way to see this. In production we elide out assertions, but if other 
derived types of Error are thrown, we don't get notified via the exception 
handler.

Original issue reported on code.google.com by adam.ros...@gmail.com on 1 Nov 2011 at 8:53

GoogleCodeExporter commented 8 years ago
Will make it into 2.7

Original comment by mjpt...@gmail.com on 2 Nov 2011 at 10:49