|
From: | Holger Hans Peter Freyther |
Subject: | [Help-smalltalk] Questions regarding exceptions |
Date: | Sat, 01 May 2010 14:51:54 +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 |
Hi All, I try to write a "Load Tests" for the SUnit tool in VisualGST. I know I should use sunitScript and will change the code but I have a question with exceptions. $ PackageLoader fileInPackage: 'Parser' $ package := PackageLoader packageAt: 'Parser' $ test := package test $ files := package fullPathsOf: (test fileIns) $ files do: [:file | file fileIn ]. Currently the last line will give me exceptions. Now I would just like to ignore them. So I try $ files do: [:file | [file fileIn ] on: Exception do: [:sig | sig return: nil] ] Is there a way to completely the exception? thanks holger
[Prev in Thread] | Current Thread | [Next in Thread] |