Lines Matching full:throw
239 /// \throw fs::system_error If the call to unmount(2) fails.
247 throw fs::system_error(F("unmount(%s) failed") % mount_point, in unmount_with_unmount2()
259 /// \throw fs::error If the execution of umount(8) fails.
268 throw fs::system_error("Cannot fork to execute unmount tool", in unmount_with_umount8()
283 throw fs::system_error("Failed to wait for unmount subprocess", in unmount_with_umount8()
291 throw fs::error(F("Failed to unmount %s; returned exit code %s") in unmount_with_umount8()
294 throw fs::error(F("Failed to unmount %s; unmount tool received signal") in unmount_with_umount8()
305 /// \throw system_error An error on failure.
312 throw fs::system_error(F("Cannot get information about %s") % path, in safe_stat()
328 /// \throw error If there is a problem copying the file.
334 throw error(F("Cannot open copy source %s") % source); in copy()
338 throw error(F("Cannot create copy target %s") % target); in copy()
347 throw error(F("Error while reading input file %s") % source); in copy()
355 /// \throw fs::error If there is a problem querying the current directory.
367 throw fs::system_error(F("Failed to get current working directory"), in current_path()
377 throw; in current_path()
432 /// \throw system_error If the call to statfs(2) fails.
440 throw fs::system_error(F("Failed to stat file system for %s") % path, in free_disk_space()
448 throw fs::system_error(F("Failed to stat file system for %s") % path, in free_disk_space()
474 /// \throw system_error If the call to mkdir(2) fails.
480 throw fs::system_error(F("Failed to create directory %s") % dir, in mkdir()
494 /// \throw system_error If any call to mkdir(2) fails.
505 throw e; in mkdir_p()
545 /// \throw fs::system_error If the call to mkdtemp(3) fails.
558 throw fs::system_error(F("Cannot create temporary directory using " in mkdtemp_public()
577 throw fs::system_error(F("Failed to grant search permissions on " in mkdtemp_public()
597 /// \throw fs::system_error If the call to mkstemp(3) fails.
610 throw fs::system_error(F("Cannot create temporary file using template " in mkstemp()
621 /// \throw fs::system_error If the attempt to mount process fails.
622 /// \throw fs::unsupported_operation_error If the code does not know how to
636 /// \throw fs::system_error If the attempt to mount process fails.
637 /// \throw fs::unsupported_operation_error If the code does not know how to
650 throw fs::system_error("Cannot fork to execute mount tool", in mount_tmpfs()
662 throw fs::system_error("Failed to wait for mount subprocess", in mount_tmpfs()
668 throw fs::unsupported_operation_error( in mount_tmpfs()
673 throw fs::error(F("Failed to mount tmpfs on %s; returned exit " in mount_tmpfs()
676 throw fs::error(F("Failed to mount tmpfs on %s; mount tool " in mount_tmpfs()
689 /// \throw fs::error If there is a problem removing any directory or file.
722 /// \throw fs::system_error If the call to rmdir(2) fails.
728 throw fs::system_error(F("Removal of %s failed") % file, in rmdir()
740 /// \throw fs::system_error If reading the directory fails for any reason.
760 /// \throw fs::system_error If the call to unlink(2) fails.
766 throw fs::system_error(F("Removal of %s failed") % file, in unlink()
776 /// \throw fs::error If the unmount fails.
803 throw; in unmount()