realbasic-plugins
[Top] [All Lists]

Problem with catching exception thrown from plugin

To: realbasic-nug at lists dot realsoftware dot com, realbasic-plugins at lists dot realsoftware dot com
Subject: Problem with catching exception thrown from plugin
From: "a.zatsepin" <a dot zatsepin at softage dot ru>
Date: Fri, 20 Jan 2006 10:21:15 +0600
Cc:
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Hi.

I've got a problem with catching exception thrown from plugin.
C++ code is:

REALobject Exception = REALnewInstance("NilObjectException");
REALRaiseException(Exception);


In RB try-catch block doesn't catch nor this neither another exception (I test "RuntimeException" also). Unhandled 'NilObjectException' exception. App must shut down. But some times the try-catch block works fine and exception is catched. Can anybody show a correct way to raise exception from plugin?

Best regards,
Alexander


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>