Updated application to 5.5
Ruslan Zasukhin
sunshine at public.kherson.ua
Mon Mar 1 23:24:56 CST 2004
on 3/1/04 11:18 PM, Kirk Clendinning at kirk at lensart.com wrote:
> If this were a
> ValentinaDatabase.open(myFolderItem)
>
> Then I could use a ValentinaDatabase.errNumber or
> ValentinaDatabase.errString.
>
> But a ValentinaServer.opensession? the ValentinaServer object doesn't
> have an errNumber or errString property.
> Maybe there's something about getting errors that I've missed. Is there
> a global method or property of the Kernal?
Hmm, you are right!
It seems we have big lack in design now.
On c++ level we catch exceptions.
In V4RB layer I store exception into GLOBAL variable in fact.
Vdatabase.errNumber actually return value of this global.
I think, we must store catched exception into Database object itself,
And in Vserver object also.
I will be able do this only for 2.0 product.
In V4RB_Client now I can do something in Vserver object to return error code
also. From that global I think.
Thank you for good eye!
--
Best regards,
Ruslan Zasukhin [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
More information about the Valentina
mailing list