Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007723 [Squeak] Monticello minor always 01-21-13 22:39 01-21-13 22:39
Reporter FrankShearar View Status public  
Assigned To FrankShearar
Priority normal Resolution open  
Status assigned   Product Version trunk
Summary 0007723: MCFileBasedRepository doesn't handle the case of a missing file
Description #versionReaderForFileNamed:do: just lets deeper layers throw a FileNotFoundException.

To provide a uniform error handling API, it should catch this and throw an MCError (see recent Inbox submission for this class definition).
Additional Information versionReaderForFileNamed: aString do: aBlock
    ^ [self
        readStreamForFileNamed: aString
        do: [:s |
            (MCVersionReader readerClassForFileNamed: aString) ifNotNil:
                [:class | aBlock value: (class on: s fileName: aString)]]] on: FileDoesNotExistException do: [self error: 'File ', aString, ' does not exist'].
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
01-21-13 22:39 FrankShearar New Issue
01-21-13 22:39 FrankShearar Status new => assigned
01-21-13 22:39 FrankShearar Assigned To  => avi
01-21-13 22:39 FrankShearar Assigned To avi => FrankShearar


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker