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 38 of file SourceManager.h.


Constructor & Destructor Documentation

zypp::FailedSourcesRestoreException::FailedSourcesRestoreException (  )  [inline]

Definition at line 41 of file SourceManager.h.

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

Definition at line 47 of file SourceManager.h.


Member Function Documentation

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

Definition at line 611 of file SourceManager.cc.

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

bool zypp::FailedSourcesRestoreException::empty (  )  const

Definition at line 601 of file SourceManager.cc.

References _summary.

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

Definition at line 606 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 591 of file SourceManager.cc.

References _summary.

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

Definition at line 596 of file SourceManager.cc.

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


Member Data Documentation

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

Definition at line 58 of file SourceManager.h.

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

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

Definition at line 59 of file SourceManager.h.

Referenced by append(), and dumpOnTranslated().

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

Definition at line 60 of file SourceManager.h.

Referenced by aliases(), and append().


The documentation for this class was generated from the following files:
Generated on Tue Nov 28 16:49:37 2006 for zypp by  doxygen 1.5.0