paludis::Exception Class Reference
[Exceptions]

#include <exception.hh>

Inheritance diagram for paludis::Exception:

paludis::ActionError paludis::AmbiguousUnmergeTargetError paludis::args::ArgsError paludis::BadVersionOperatorError paludis::ConfigurationError paludis::DepListError paludis::DestringifyError paludis::FSError paludis::GetenvError paludis::GotASetNotAPackageDepSpec paludis::GraphError paludis::HadBothPackageAndSetTargets paludis::InternalError paludis::MergerError paludis::MultipleSetTargetsSpecified paludis::NameError paludis::NoSuchSetError paludis::NotAvailableError paludis::PackageDatabaseError paludis::PackageDepSpecError paludis::PtyError paludis::RecursivelyDefinedSetError paludis::RunCommandError paludis::SafeIFStreamError paludis::SafeOFStreamError paludis::SELinuxException paludis::SyncFailedError paludis::TokeniserError paludis::UnmergerError

List of all members.

Basic operations

 Exception (const std::string &message) throw ()
 Exception (const Exception &)

Basic operations

virtual ~Exception () PALUDIS_ATTRIBUTE((nothrow)) throw ()

Public Member Functions

const std::string & message () const PALUDIS_ATTRIBUTE((nothrow)) throw ()
std::string backtrace (const std::string &delim) const
bool empty () const
const char * what () const throw ()


Detailed Description

Base exception class.
Examples:

example_action.cc, example_contents.cc, example_dep_label.cc, example_dep_spec.cc, example_dep_spec_flattener.cc, example_dep_tag.cc, example_environment.cc, example_formatter.cc, example_mask.cc, example_match_package.cc, example_metadata_key.cc, example_name.cc, example_package_database.cc, example_package_id.cc, example_repository.cc, example_selection.cc, example_stringify_formatter.cc, example_version_operator.cc, and example_version_spec.cc.


Member Function Documentation

const std::string& paludis::Exception::message (  )  const throw ()

Return our descriptive error message.

Examples:
example_action.cc, example_contents.cc, example_dep_label.cc, example_dep_spec.cc, example_dep_spec_flattener.cc, example_dep_tag.cc, example_environment.cc, example_formatter.cc, example_mask.cc, example_match_package.cc, example_metadata_key.cc, example_name.cc, example_package_database.cc, example_package_id.cc, example_repository.cc, example_selection.cc, example_stringify_formatter.cc, example_version_operator.cc, and example_version_spec.cc.

std::string paludis::Exception::backtrace ( const std::string &  delim  )  const

Make a backtrace.

Examples:
example_action.cc, example_contents.cc, example_dep_label.cc, example_dep_spec.cc, example_dep_spec_flattener.cc, example_dep_tag.cc, example_environment.cc, example_formatter.cc, example_mask.cc, example_match_package.cc, example_metadata_key.cc, example_name.cc, example_package_database.cc, example_package_id.cc, example_repository.cc, example_selection.cc, example_stringify_formatter.cc, example_version_operator.cc, and example_version_spec.cc.

bool paludis::Exception::empty (  )  const

Is our backtrace empty?

const char* paludis::Exception::what (  )  const throw ()

A better what, if possible.

Examples:
example_action.cc, example_contents.cc, example_dep_label.cc, example_dep_spec.cc, example_dep_spec_flattener.cc, example_dep_tag.cc, example_environment.cc, example_formatter.cc, example_mask.cc, example_match_package.cc, example_metadata_key.cc, example_name.cc, example_package_database.cc, example_package_id.cc, example_repository.cc, example_selection.cc, example_stringify_formatter.cc, example_version_operator.cc, and example_version_spec.cc.


The documentation for this class was generated from the following file:
Generated on Mon Sep 21 10:36:11 2009 for paludis by  doxygen 1.5.4