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 424 of file MediaException.h.


Constructor & Destructor Documentation

zypp::media::MediaUnauthorizedException::MediaUnauthorizedException (  )  [inline]

Definition at line 427 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 434 of file MediaException.h.

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

Definition at line 444 of file MediaException.h.


Member Function Documentation

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

Definition at line 446 of file MediaException.h.

References _url.

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

Definition at line 447 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 449 of file MediaException.h.

References _hint.

Referenced by zypp::media::MediaCurl::getDoesFileExist(), and zypp::media::MediaCurl::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 166 of file MediaException.cc.

References _err, _url, zypp::Url::asString(), and zypp::Exception::msg().


Member Data Documentation

Url zypp::media::MediaUnauthorizedException::_url [private]

Definition at line 454 of file MediaException.h.

Referenced by dumpOn(), and url().

std::string zypp::media::MediaUnauthorizedException::_err [private]

Definition at line 455 of file MediaException.h.

Referenced by dumpOn(), and err().

std::string zypp::media::MediaUnauthorizedException::_hint [private]

Definition at line 456 of file MediaException.h.

Referenced by hint().


The documentation for this class was generated from the following files:
Generated on Tue Sep 25 19:23:21 2007 for libzypp by  doxygen 1.5.3