Kernel.image update for 7052 and my vision of the next development

Klaus D. Witzel klaus.witzel at cobss.com
Sun Jul 30 17:41:30 UTC 2006


Pavel,

the defaultAction in UnhandledError (when the user cannot or does not  
handle or fails) is

	^ ToolSet debugError: exception

ToolSet (or one of its alternatives) can and should decide what/how UI is  
involved. I was under the impression that this is the current state of art  
in 3.9?

/Klaus

On Sun, 30 Jul 2006 19:22:01 +0200, Pavel Krivanek wrote:

> On 7/30/06, Andreas Raab <andreas.raab at gmx.de> wrote:
>> Pavel Krivanek wrote:
>> > - extend UIManager to make the kernel independent on UI. It's about 30
>> > methods it means to take the current source and create the
>> > corresponding code in the MorphicUIManager or MVCUIManager
>>
>> Ouch. This feels *extremely* wrong to me - you are making a user
>> interface abstraction be responsible for the defaults in exception
>> handling. Bad choice. What is wrong with the current implementations
>> anyway? There is no UI dependency in any of the standard exception
>> classes that I find in 3.9 (a few edge cases like
>> ProgressInitiationException that don't belong into Kernel discounted).
>
> Every UI wants to answer on exceptions by different way (Morphic wants
> to show some dialog during a warning, console may write only some text
> without user interaction etc). So somewhere from the exception handler
> you have to call UIManager. Do you've got any better design?
>
> -- Pavel
>
>





More information about the Squeak-dev mailing list