Custom exception handler?

15 views
Skip to first unread message

kal...@gmail.com

unread,
Aug 19, 2015, 11:44:30 AM8/19/15
to PlayN
Hi! I'd like to install a custom exception handler into my playn application.
I found this link in an older thread: https://github.com/threerings/playn/commit/37ffeb5610ac640cde6d0f40531d04fae06997b9
but it seems this is no longer in the code.

Is there a simple way to do this? Thanks!

Brigt Vik

unread,
Aug 21, 2015, 2:59:56 AM8/21/15
to PlayN, kal...@gmail.com
As far as I can see, that code is still there? Are you sure you're looking at the right class?

kal...@gmail.com

unread,
Aug 21, 2015, 7:32:02 AM8/21/15
to PlayN, kal...@gmail.com
You're right. Some of the files and classes were renamed which is why I couldn't find anything by grepping. I see that there's a signal based error handler now.
Thanks!

kal...@gmail.com

unread,
Aug 21, 2015, 7:39:01 AM8/21/15
to PlayN, kal...@gmail.com
it seems that Input exceptions are not caught by this system. Is there any way to handle those?

Michael Bayne

unread,
Aug 21, 2015, 2:23:50 PM8/21/15
to pl...@googlegroups.com, Dániel Kalmár
On Fri, Aug 21, 2015 at 4:39 AM, <kal...@gmail.com> wrote:
it seems that Input exceptions are not caught by this system. Is there any way to handle those?

I'll fix the dispatch code so that uncaught exceptions there are also routed through the standard mechanism.

Reply all
Reply to author
Forward
0 new messages