libzypp
10.5.0
|
Thrown if /sbin/losetup fails to find an unused loop device for mounting an .iso image. More...
#include <MediaException.h>
Public Member Functions | |
MediaNoLoopDeviceException (const Url &url_r, const std::string &msg="") | |
virtual | ~MediaNoLoopDeviceException () throw () |
Protected Member Functions | |
virtual std::ostream & | dumpOn (std::ostream &str) const |
Overload this to print a proper error message. | |
Protected Attributes | |
std::string | _url |
std::string | _msg |
Thrown if /sbin/losetup fails to find an unused loop device for mounting an .iso image.
UI hint: tell user to check permissions to read /dev/loop# or enablement of support for loop devices.
Definition at line 623 of file MediaException.h.
zypp::media::MediaNoLoopDeviceException::MediaNoLoopDeviceException | ( | const Url & | url_r, |
const std::string & | msg = "" |
||
) | [inline] |
Definition at line 626 of file MediaException.h.
virtual zypp::media::MediaNoLoopDeviceException::~MediaNoLoopDeviceException | ( | ) | throw () [inline, virtual] |
Definition at line 630 of file MediaException.h.
std::ostream & zypp::media::MediaNoLoopDeviceException::dumpOn | ( | std::ostream & | str | ) | const [protected, virtual] |
Overload this to print a proper error message.
Reimplemented from zypp::Exception.
Definition at line 281 of file MediaException.cc.
std::string zypp::media::MediaNoLoopDeviceException::_url [protected] |
Definition at line 633 of file MediaException.h.
std::string zypp::media::MediaNoLoopDeviceException::_msg [protected] |
Reimplemented from zypp::Exception.
Definition at line 634 of file MediaException.h.