[squeak-dev] Should InvalidDirectoryError be a Notification?

christoph.thiede at student.hpi.uni-potsdam.de christoph.thiede at student.hpi.uni-potsdam.de
Fri May 20 12:00:18 UTC 2022

Hi all!

With InvalidDirectoryError, we have one more exception class that overrides #defaultAction to handle itself silently without bringing up a debugger. As a consequence, some tests that reproduce normal user interactions will fail for no visible reason. See DirectoryChooserDialogTest>>testChooseAbsentDirectory in polish-file-dialogs.3.cs for an example.

I am unsure how to deal with these situations: Isn't an error that doesn't bring up a debugger some kind of anti-pattern? Should we rethink the definition of this exception class?


Sent from Squeak Inbox Talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220520/fc9536d4/attachment.html>

More information about the Squeak-dev mailing list