#include <MediaException.h>
Public Member Functions | |
MediaUnauthorizedException () | |
MediaUnauthorizedException (const Url &url_r, const std::string &msg_r, const std::string &err_r, const std::string &hint_r) | |
virtual | ~MediaUnauthorizedException () throw () |
const Url & | url () const |
const std::string & | err () const |
const std::string & | hint () const |
comma separated list of available authentication types | |
Protected Member Functions | |
virtual std::ostream & | dumpOn (std::ostream &str) const |
Overload this to print a proper error message. | |
Private Attributes | |
Url | _url |
std::string | _err |
std::string | _hint |
Definition at line 521 of file MediaException.h.
zypp::media::MediaUnauthorizedException::MediaUnauthorizedException | ( | ) | [inline] |
Definition at line 524 of file MediaException.h.
zypp::media::MediaUnauthorizedException::MediaUnauthorizedException | ( | const Url & | url_r, | |
const std::string & | msg_r, | |||
const std::string & | err_r, | |||
const std::string & | hint_r | |||
) | [inline] |
Definition at line 531 of file MediaException.h.
virtual zypp::media::MediaUnauthorizedException::~MediaUnauthorizedException | ( | ) | throw () [inline, virtual] |
Definition at line 541 of file MediaException.h.
const Url& zypp::media::MediaUnauthorizedException::url | ( | ) | const [inline] |
const std::string& zypp::media::MediaUnauthorizedException::err | ( | ) | const [inline] |
const std::string& zypp::media::MediaUnauthorizedException::hint | ( | ) | const [inline] |
comma separated list of available authentication types
Definition at line 546 of file MediaException.h.
References _hint.
Referenced by zypp::media::MediaCurl::getDoesFileExist(), zypp::media::MediaCurl::getFileCopy(), and zypp::media::MediaAria2c::getFileCopy().
std::ostream & zypp::media::MediaUnauthorizedException::dumpOn | ( | std::ostream & | str | ) | const [protected, virtual] |
Overload this to print a proper error message.
Reimplemented from zypp::Exception.
Definition at line 239 of file MediaException.cc.
References _err, _url, zypp::Url::asString(), and zypp::Exception::msg().
std::string zypp::media::MediaUnauthorizedException::_err [private] |
std::string zypp::media::MediaUnauthorizedException::_hint [private] |