On 4/12/22 11:53, Roman Simakov wrote:
Alex,
Is it documented somewhere?
Exactly in this form - not. I.e. a fact that exceptions are caught when
throwing from OO API functions is documented (in Using_OO_API) and
special position of FbException is documented too, but need of first
Status par
Alex,
Is it documented somewhere?
пн, 11 апр. 2022 г. в 18:45, Alex Peshkoff via Firebird-devel
:
>
> On 4/11/22 17:56, Dimitry Sibiryakov wrote:
> > Vasiliy Yashkov wrote 11.04.2022 16:52:
> >> What is the right way to throw an exception?
> >
> > Plugins (as any other DLL) is not supposed to t
Ok, now I get it. Thanks for the explanations!
--
Vasiliy Yashkov
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel
On 4/11/22 17:56, Dimitry Sibiryakov wrote:
Vasiliy Yashkov wrote 11.04.2022 16:52:
What is the right way to throw an exception?
Plugins (as any other DLL) is not supposed to throw exceptions ever.
Yes, throwing directly (like in your code) is impossible. But there is a
way to return an
Vasiliy Yashkov wrote 11.04.2022 16:52:
What is the right way to throw an exception?
Plugins (as any other DLL) is not supposed to throw exceptions ever.
--
WBR, SD.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel
Hi All!
I have a simple external plugin that throws an exception:
#include "firebird/Interface.h"
using namespace Firebird;
extern "C" void FB_DLL_EXPORT FB_PLUGIN_ENTRY_POINT(IMaster* master)
{
const auto status = master->getStatus();
ISC_STATUS vector[] = {
isc_arg_gds, isc_random, isc_arg_