zypp::FailedSourcesRestoreException Class Reference

#include <SourceManager.h>

Inheritance diagram for zypp::FailedSourcesRestoreException:

zypp::Exception exception List of all members.

Public Member Functions

 FailedSourcesRestoreException ()
virtual ~FailedSourcesRestoreException () throw ()
void append (std::string source, std::string alias, const Exception &problem)
bool empty () const
std::set< std::string > aliases () const

Protected Member Functions

virtual std::ostream & dumpOn (std::ostream &str) const
 Overload this to print a proper error message.
virtual std::ostream & dumpOnTranslated (std::ostream &str) const

Private Attributes

std::string _summary
std::string _translatedSummary
std::set< std::string > _aliases

Detailed Description

Todo:
move to separate header file.

Definition at line 36 of file SourceManager.h.


Constructor & Destructor Documentation

zypp::FailedSourcesRestoreException::FailedSourcesRestoreException  )  [inline]
 

Definition at line 39 of file SourceManager.h.

virtual zypp::FailedSourcesRestoreException::~FailedSourcesRestoreException  )  throw () [inline, virtual]
 

Definition at line 45 of file SourceManager.h.


Member Function Documentation

void zypp::FailedSourcesRestoreException::append std::string  source,
std::string  alias,
const Exception problem
 

Definition at line 577 of file SourceManager.cc.

References _aliases, _summary, _translatedSummary, zypp::Exception::asString(), and zypp::Exception::asUserString().

bool zypp::FailedSourcesRestoreException::empty  )  const
 

Definition at line 567 of file SourceManager.cc.

References _summary.

std::set< std::string > zypp::FailedSourcesRestoreException::aliases  )  const
 

Definition at line 572 of file SourceManager.cc.

References _aliases.

std::ostream & zypp::FailedSourcesRestoreException::dumpOn std::ostream &  str  )  const [protected, virtual]
 

Overload this to print a proper error message.

Reimplemented from zypp::Exception.

Definition at line 557 of file SourceManager.cc.

References _summary.

std::ostream & zypp::FailedSourcesRestoreException::dumpOnTranslated std::ostream &  str  )  const [protected, virtual]
 

Definition at line 562 of file SourceManager.cc.

References _translatedSummary, and zypp::Exception::asUserString().


Member Data Documentation

std::string zypp::FailedSourcesRestoreException::_summary [private]
 

Definition at line 56 of file SourceManager.h.

Referenced by append(), dumpOn(), and empty().

std::string zypp::FailedSourcesRestoreException::_translatedSummary [private]
 

Definition at line 57 of file SourceManager.h.

Referenced by append(), and dumpOnTranslated().

std::set<std::string> zypp::FailedSourcesRestoreException::_aliases [private]
 

Definition at line 58 of file SourceManager.h.

Referenced by aliases(), and append().


The documentation for this class was generated from the following files:
Generated on Thu Jul 6 00:07:31 2006 for zypp by  doxygen 1.4.6