Mailinglist Archive: zypp-commit (233 mails)
| < Previous | Next > |
[zypp-commit] <libzypp> master : MediaNoLoopDeviceException: add optional explanatory message
- From: Michael Andres <ma@xxxxxxx>
- Date: Thu, 19 Nov 2009 16:26:52 +0100
- Message-id: <E1NB8uO-0004ce-B1@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit 626dee7a5ec9f30222993c73d93c7d67383e1f04
Author: Michael Andres <ma@xxxxxxx>
Date: Thu Nov 19 16:26:52 2009 +0100
MediaNoLoopDeviceException: add optional explanatory message
---
zypp/media/MediaException.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/zypp/media/MediaException.h b/zypp/media/MediaException.h
index ffe02fc..0262078 100644
--- a/zypp/media/MediaException.h
+++ b/zypp/media/MediaException.h
@@ -624,12 +624,13 @@ class MediaAria2cInitException : public MediaException
public:
MediaNoLoopDeviceException(const Url & url_r, const std::string & msg =
"")
: MediaException(msg)
- , _url(url_r.asString())
+ , _url(url_r.asString()), _msg(msg)
{}
virtual ~MediaNoLoopDeviceException() throw() {};
protected:
virtual std::ostream & dumpOn( std::ostream & str ) const;
std::string _url;
+ std::string _msg;
};
/////////////////////////////////////////////////////////////////
} // namespace media
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx
commit 626dee7a5ec9f30222993c73d93c7d67383e1f04
Author: Michael Andres <ma@xxxxxxx>
Date: Thu Nov 19 16:26:52 2009 +0100
MediaNoLoopDeviceException: add optional explanatory message
---
zypp/media/MediaException.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/zypp/media/MediaException.h b/zypp/media/MediaException.h
index ffe02fc..0262078 100644
--- a/zypp/media/MediaException.h
+++ b/zypp/media/MediaException.h
@@ -624,12 +624,13 @@ class MediaAria2cInitException : public MediaException
public:
MediaNoLoopDeviceException(const Url & url_r, const std::string & msg =
"")
: MediaException(msg)
- , _url(url_r.asString())
+ , _url(url_r.asString()), _msg(msg)
{}
virtual ~MediaNoLoopDeviceException() throw() {};
protected:
virtual std::ostream & dumpOn( std::ostream & str ) const;
std::string _url;
+ std::string _msg;
};
/////////////////////////////////////////////////////////////////
} // namespace media
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx
| < Previous | Next > |