libzypp 8.13.6
Public Member Functions | Protected Member Functions | Private Attributes

zypp::media::MediaUnmountException Class Reference

#include <MediaException.h>

Inheritance diagram for zypp::media::MediaUnmountException:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 MediaUnmountException (const std::string &error_r, const std::string &path_r)
 Ctor taking message.
virtual ~MediaUnmountException () throw ()
 Dtor.

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 _path

Detailed Description

Definition at line 94 of file MediaException.h.


Constructor & Destructor Documentation

zypp::media::MediaUnmountException::MediaUnmountException ( const std::string &  error_r,
const std::string &  path_r 
) [inline]

Ctor taking message.

Use ZYPP_THROW macros to throw exceptions.

Definition at line 100 of file MediaException.h.

virtual zypp::media::MediaUnmountException::~MediaUnmountException ( ) throw () [inline, virtual]

Dtor.

Definition at line 107 of file MediaException.h.


Member Function Documentation

std::ostream & zypp::media::MediaUnmountException::dumpOn ( std::ostream &  str) const [protected, virtual]

Overload this to print a proper error message.

Reimplemented from zypp::Exception.

Definition at line 39 of file MediaException.cc.

References _, and zypp::str::form().


Member Data Documentation

Definition at line 111 of file MediaException.h.

Definition at line 112 of file MediaException.h.


The documentation for this class was generated from the following files: