#include <MediaException.h>
Public Member Functions | |
| MediaMountException () | |
| MediaMountException (const std::string &error_r, const std::string &source_r, const std::string &target_r, const std::string &cmdout_r="") | |
| Ctor taking message. | |
| virtual | ~MediaMountException () throw () |
| Dtor. | |
| const std::string & | mountError () const |
| const std::string & | mountSource () const |
| const std::string & | mountTarget () const |
| const std::string & | mountOutput () const |
Protected Member Functions | |
| virtual std::ostream & | dumpOn (std::ostream &str) const |
| Overload this to print a proper error message. | |
Private Attributes | |
| std::string | _error |
| std::string | _source |
| std::string | _target |
| std::string | _cmdout |
Definition at line 52 of file MediaException.h.
| zypp::media::MediaMountException::MediaMountException | ( | ) | [inline] |
Definition at line 55 of file MediaException.h.
| zypp::media::MediaMountException::MediaMountException | ( | const std::string & | error_r, | |
| const std::string & | source_r, | |||
| const std::string & | target_r, | |||
| const std::string & | cmdout_r = "" | |||
| ) | [inline] |
Ctor taking message.
Use ZYPP_THROW macros to throw exceptions.
Definition at line 62 of file MediaException.h.
| virtual zypp::media::MediaMountException::~MediaMountException | ( | ) | throw () [inline, virtual] |
| const std::string& zypp::media::MediaMountException::mountError | ( | ) | const [inline] |
Definition at line 75 of file MediaException.h.
References _error.
Referenced by zypp::media::MediaCD::attachTo().
| const std::string& zypp::media::MediaMountException::mountSource | ( | ) | const [inline] |
| const std::string& zypp::media::MediaMountException::mountTarget | ( | ) | const [inline] |
| const std::string& zypp::media::MediaMountException::mountOutput | ( | ) | const [inline] |
Definition at line 81 of file MediaException.h.
References _cmdout.
Referenced by zypp::media::MediaCD::attachTo().
| std::ostream & zypp::media::MediaMountException::dumpOn | ( | std::ostream & | str | ) | const [protected, virtual] |
Overload this to print a proper error message.
Reimplemented from zypp::Exception.
Definition at line 26 of file MediaException.cc.
std::string zypp::media::MediaMountException::_error [private] |
std::string zypp::media::MediaMountException::_source [private] |
std::string zypp::media::MediaMountException::_target [private] |
std::string zypp::media::MediaMountException::_cmdout [private] |
1.5.3