zypp::media::MediaUnauthorizedException Class Reference

#include <MediaException.h>

Inheritance diagram for zypp::media::MediaUnauthorizedException:
[legend]

List of all members.

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 Urlurl () 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


Detailed Description

Definition at line 521 of file MediaException.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

const Url& zypp::media::MediaUnauthorizedException::url (  )  const [inline]

Definition at line 543 of file MediaException.h.

References _url.

const std::string& zypp::media::MediaUnauthorizedException::err (  )  const [inline]

Definition at line 544 of file MediaException.h.

References _err.

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().


Member Data Documentation

Definition at line 551 of file MediaException.h.

Referenced by dumpOn(), and url().

Definition at line 552 of file MediaException.h.

Referenced by dumpOn(), and err().

Definition at line 553 of file MediaException.h.

Referenced by hint().


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

doxygen