[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] Questions regarding exceptions
From: |
Holger Hans Peter Freyther |
Subject: |
Re: [Help-smalltalk] Questions regarding exceptions |
Date: |
Sat, 01 May 2010 15:49:15 +0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100413 Fedora/3.0.4-2.fc13 Lightning/1.0b1 Thunderbird/3.0.4 |
On 05/01/2010 03:43 PM, Paolo Bonzini wrote:
>> $ files do: [:file |
>> [file fileIn ]
>> on: Exception
>> do: [:sig | sig return: nil] ]
>>
>> Is there a way to completely the exception?
>
> Well, the question is "what exception"?
Any exception. It is a bit difficult to identify the start of an
exception with the gst shell. I just want to catch everything that might
go wrong from within the fileIn.
but something like this:
/home/ich/install/gst/share/smalltalk/Parser.star#VFS.ZipFile/RewriteTests.st:36:
key TestCase not found
/home/ich/install/gst/share/smalltalk/Parser.star#VFS.ZipFile/RewriteTests.st:36:
expected Eval, Namespace or class definition
/home/ich/install/gst/share/smalltalk/Parser.star#VFS.ZipFile/RewriteTests.st:88:
expected Eval, Namespace or class definition
Object: nil error: did not understand #rewriterClass
Smalltalk.MessageNotUnderstood(Smalltalk.Exception)>>signal
(ExcHandling.st:254)
Smalltalk.UndefinedObject(Smalltalk.Object)>>doesNotUnderstand:
#rewriterClass (SysExcept.st:1436)
Smalltalk.UndefinedObject>>executeStatements
(Parser.star#VFS.ZipFile/RewriteTests.st:180)