jecisc / Bazard

0 stars 0 forks source link

File>>readStream should raise FileDoesNotExistException if the file does not exist. #177

Closed jecisc closed 5 years ago

jecisc commented 5 years ago

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/19025 Status: Work Needed Project: File System Original Author: CyrilFerlicot Date: 2 September 2016 10:31:53 am

Description:

If you try to read a File that does not exist you get a FileException, but there is a subclass of this exception named "FileDoesNotExistException", it should be used instead.

jecisc commented 5 years ago

Reply: Author: Pavel Krivanek Date: 21 September 2016 11:13:07 am

Message:

If the fileHandle is nil, we do not know if the file does not exists or if it has read-only permissions. That is probably the reason why general FileException is signaled here.

jecisc commented 5 years ago

Reply: Author: Pavel Krivanek Date: 27 January 2017 11:46:24 am

Message:

Low priority issue. Not for Pharo 6. The milestone "Later" was set automatically.