Remove all image thrown exceptions.

This commit is contained in:
2021-09-21 04:55:28 +01:00
parent f0c3653158
commit 42597b89cf
49 changed files with 934 additions and 395 deletions

View File

@@ -125,10 +125,11 @@ namespace Aaru.DiscImages
break;
}
var trackFilter = new ZZZNoFilter();
var trackFilter = new ZZZNoFilter();
ErrorNumber errno = trackFilter.Open(trackfile);
if(trackFilter.Open(trackfile) != ErrorNumber.NoError)
throw new IOException("Could not open KryoFlux track file.");
if(errno != ErrorNumber.NoError)
return errno;
_imageInfo.CreationTime = DateTime.MaxValue;
_imageInfo.LastModificationTime = DateTime.MinValue;