Frank Schönheit - Sun Microsystems Germany wrote:

> Hi Mathias,
> 
>>> Hi Mathias,
>>>
>>>>> Of course, the advantage of using exceptions is that they can transport 
>>>>> additional (polymorphic) information about what went wrong...
>>>> And its biggest disadvantage is that it breaks the code in languages
>>>> that have no concept to deal with them as e.g. OOo Basic.
>>>>
>>>> That doesn't mean we shouldn't use exceptions but we should perhaps use
>>>> them less enthusiastically as we did in the past.
>>> Or we should perhaps fix our broken language bindings, which can't make
>>> use of exceptions, which finally are a very basic UNO concept.
>> 
>> This is not a matter of the language binding but a matter of missing
>> support in the language.
> 
> Call it any way you want :)
> 
> As a matter of fact, the scripting language delivered with OOo -
> StarBasic - lacks support for one of the most basic features
> (exceptions) of one of the central foundations of OOo (UNO).
> 
> Looking at our testtool scripts, which are also written in some kind of
> Basic very similar to StarBasic, there are constructs such as
> "try/catch" - so it should be possible to implement such things without
> too much effort (Don't you also hate those people not having any clue,
> but saying "this must be simple!"?). "throw" would be a logical
> extension of this.
> 
> I seriously think we should address this - for better UNO access in
> Basic, and on the medium term probably also for better VBA compatibility.

Supported. Volunteers, anyone? ;-)

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to