[Cuis] Unknown File Dialogue

Juan Vuletich juan at jvuletich.org
Fri Dec 4 07:11:10 CST 2015


On 12/4/2015 1:24 AM, Luciano Notarfrancesco wrote:
> I'd like the FileNotFoundException>>#defaultAction to open a debugger. 
> Same with NotYetImplemented.

So, FileDoesNotExistException is ok, right?

I agree that NotYetImplemented should also open a debugger.

>
> Maybe it could be a preference, like non-programmer user mode, where 
> the exceptions default actions try to guess what went wrong, or ask 
> the user for some interaction, but the default programmer mode should 
> open a debugger. What do other Smalltalks do?
>
> On Fri, Dec 4, 2015 at 2:59 AM, Dan Norton <dnorton at mindspring.com 
> <mailto:dnorton at mindspring.com>> wrote:
>
>     When someone explicitly selects "cancel" in a dialog, is MNU an
>     appropriate response? I
>     don't think so. Any other opinions?
>
>     On 6 Nov 2015 at 16:21, cuis at jvuletich.org
>     <mailto:cuis at jvuletich.org> wrote:
>
>     > Hello,
>     >
>     > In FmFileEntry>>fileContents, a dialogue is presented if there is an
>     > attempt to read a file
>     > which does not exist. This gives the opportunity to choose another
>     > name or cancel.
>     >
>     > A "Cancel" response produces MNU: #contents
>     >
>     > To avoid the MNU and answer nil, I suggest the attached change be
>     > made to #fileContents.
>     >
>     >  - Dan
>     >
>     > Attachments:
>     >
>     > C:\Cuis\JuanV\Cuis-Smalltalk-Dev-master\FmFileEntry-fileContents.zip
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jvuletich.org/pipermail/cuis_jvuletich.org/attachments/20151204/5545ac8a/attachment-0004.html>


More information about the Cuis mailing list