[armedbear-devel] Catching exceptions from toString() methods

Olof-Joachim Frahm olof at macrolet.net
Mon Jan 6 17:08:52 UTC 2014


Hi,

I've mentioned this on IRC, just so it isn't forgotten:

I was getting some objects from Hibernate in the REPL, which worked fine
until the toString() method of an object was called and threw an
exception, terminating ABCL completely.  Attached is a patch which
catches all exceptions during the printObject() method of JavaObject.

Best regards,
Olof
-------------- next part --------------
A non-text attachment was scrubbed...
Name: catch-print-object.patch
Type: application/octet-stream
Size: 1848 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20140106/fc24fe2e/attachment.obj>


More information about the armedbear-devel mailing list