aino-komal / mvp4g

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

Support on checked exceptions for events #118

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

For the event being defined to throw exceptions, the error "unhandled exception 
type" occurs because the generator of the event bus implementation doesn't 
detect exceptions that can be thrown by the interface.

What is the expected output? What do you see instead?

Support on checked exceptions is canonical practice for Java, they are integral 
part of the method signature in need.

What version of the product are you using? On what operating system?

1.4.0

Please provide any additional information below.

Workaround:

Throw and catch unchecked(runtime) exceptions instead, then no need to add them 
to the event signature.

See also:

https://groups.google.com/forum/#!topic/mvp4g/gbWjEdpZFSo

Original issue reported on code.google.com by fans.gro...@googlemail.com on 13 Jul 2012 at 9:14

GoogleCodeExporter commented 9 years ago
Closing the bug after discusion on the group.

Original comment by plcoir...@gmail.com on 6 Sep 2013 at 4:30