Lines Matching refs:FileException
167 class FileException : Exception
234 assertThrown!FileException("non.existing.file.".readText);
243 throw new FileException(name, .GetLastError(), file, line); in cenforce()
247 throw new FileException(name, .errno, file, line); in cenforce()
266 throw new FileException(name, .GetLastError(), file, line); in version()
283 throw new FileException(name, .errno, file, line); in version()
294 catch (FileException) {} in catch() argument
498 Throws: $(LREF FileException) if there is an error reading the file,
988 new FileException( in renameImpl()
1049 assertThrown!FileException(deleteme.readText);
1092 new FileException(name.idup)); in getFA()
1105 new FileException(namez[0 .. wcslen(namez)].to!string)); in getFA()
1224 $(LREF FileException) on error.
1499 $(LREF FileException) on error.
1648 $(LREF FileException) if the given file does not exist.
1711 below. The code throws a $(LREF FileException) if `source` does not
1993 Throws: $(LREF FileException) on error.
2046 assertThrown!FileException(f.getAttributes);
2063 assertThrown!FileException(dir.getAttributes);
2159 assertThrown!FileException(f.getLinkAttributes);
2176 assertThrown!FileException(dir.getLinkAttributes);
2488 $(LREF FileException) if the given file does not exist. in version()
2519 assertThrown!FileException(f.isFile);
2821 assertThrown!FileException(source.getLinkAttributes.attrIsSymlink);
3003 enforce(pathname.isDir, new FileException(pathname.idup)); in ensureDirExists()
3060 assertThrown!FileException(deleteme.mkdirRecurse);
3079 assertThrown!FileException(mkdirRecurse(path));
3088 assertThrown!FileException(mkdirRecurse(`1:\foobar`)); in version()
3267 $(LREF FileException) on error. in version()
3316 throw new FileException(to!string(link), "Path is too long to read.");
3337 assertThrown!FileException(readLink("/doesnotexist")); in version()
3780 throw new FileException(path, "File does not exist");
3887 throw new FileException(path, "File does not exist");
4891 $(LREF FileException) if the directory does not exist.
5432 assertThrown!FileException(getAvailableDiskSpace("ThisFileDoesNotExist123123"));