Help - need Dolphin equivalent of VW method

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Help - need Dolphin equivalent of VW method

jWarrior
Object>>notifySignal

 ^SystemNotification

This ^^^ is a VW method for which I need the Dolphin
equivalent.

Thanks.


Reply | Threaded
Open this post in threaded view
|

Re: Help - need Dolphin equivalent of VW method

Blair McGlashan
Donald

You wrote in message news:97ujhf$el$[hidden email]...
> Object>>notifySignal
>
>  ^SystemNotification
>
> This ^^^ is a VW method for which I need the Dolphin
> equivalent.

I don't think there is a direct equivalent (exceptions in Dolphin follow the
ANSI standard and are class based, not instance based as in VW). I don't
know the purpose of the VW method, but I'd guess you probably want to use
Notification, e.g.

Notification signal: 'Hello'

Regards

Blair


Reply | Threaded
Open this post in threaded view
|

Re: Help - need Dolphin equivalent of VW method

James Robertson-3
Blair McGlashan wrote:

>
> Donald
>
> You wrote in message news:97ujhf$el$[hidden email]...
> > Object>>notifySignal
> >
> >  ^SystemNotification
> >
> > This ^^^ is a VW method for which I need the Dolphin
> > equivalent.
>
> I don't think there is a direct equivalent (exceptions in Dolphin follow the
> ANSI standard and are class based, not instance based as in VW). I don't
> know the purpose of the VW method, but I'd guess you probably want to use
> Notification, e.g.

Actually, VW has class based exceptions that follow the standard.  For
backwards compatibility with older versions of VW, we still support the
instance (Signal) based system as well

>
> Notification signal: 'Hello'
>
> Regards
>
> Blair

--
James A. Robertson
Product Manager (Smalltalk), Cincom
[hidden email]
<Talk Small and Carry a Big Class Library>


Reply | Threaded
Open this post in threaded view
|

Re: Help - need Dolphin equivalent of VW method

davidbuck
In reply to this post by Blair McGlashan
The SystemNotification is a signal that's raised for lots of different
proceedable exceptions.  It notifies the user that something went wrong but
allows them to continue anyway and something reasonable will happen.

I don't know the equivalent of this in Dolphin.

David

Blair McGlashan wrote:

> Donald
>
> You wrote in message news:97ujhf$el$[hidden email]...
> > Object>>notifySignal
> >
> >  ^SystemNotification
> >
> > This ^^^ is a VW method for which I need the Dolphin
> > equivalent.
>
> I don't think there is a direct equivalent (exceptions in Dolphin follow the
> ANSI standard and are class based, not instance based as in VW). I don't
> know the purpose of the VW method, but I'd guess you probably want to use
> Notification, e.g.
>
> Notification signal: 'Hello'
>
> Regards
>
> Blair


Reply | Threaded
Open this post in threaded view
|

Re: Help - need Dolphin equivalent of VW method

Blair McGlashan
In reply to this post by James Robertson-3
James

You wrote in message news:[hidden email]...
> >
> > I don't think there is a direct equivalent (exceptions in Dolphin follow
the
> > ANSI standard and are class based, not instance based as in VW). I don't
> > know the purpose of the VW method, but I'd guess you probably want to
use
> > Notification, e.g.
>
> Actually, VW has class based exceptions that follow the standard.  For
> backwards compatibility with older versions of VW, we still support the
> instance (Signal) based system as well

I was aware of that, and in the first draft of my posting I used the term
"like the old VW exceptions", but it sounded derogatory and I deleted it
without inserting a more appropriate replacement, sorry.

I should also have mentioned that Dolphin has always provided instance-based
exceptions as well, implemented on top of the class based ANSI standard
mechanism. These are useful occassionally when one wants to be catch a
specific exception, but one doesn't feel the addition of a new class is
justified (because there is no new behaviour). Donald could use these as
they are perhaps closer to the VW signals - see the Signal and
NotificationSignal classes and their various uses.

Regards

Blair McGlashan
Object Arts Ltd


Reply | Threaded
Open this post in threaded view
|

Re: Help - need Dolphin equivalent of VW method

Blair McGlashan
In reply to this post by davidbuck
"David Buck" <[hidden email]> wrote in message
news:[hidden email]...
> The SystemNotification is a signal that's raised for lots of different
> proceedable exceptions.  It notifies the user that something went wrong
but
> allows them to continue anyway and something reasonable will happen.
>
> I don't know the equivalent of this in Dolphin.

Hmmm. That might be closer to Warning then. Notification doesn't interrupt
the user at all, it just writes a message to the trace device (the
Transcript in a development system). The default handling of Warning pops an
OK/Cancel message box to allow the user to resume/abort, which sounds more
similar.

Regards

Blair