help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Questions regarding exceptions


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Questions regarding exceptions
Date: Sat, 1 May 2010 09:43:11 +0200

> $ 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?

Well, the question is "what exception"?

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]