#include <exception.hh>
|
| const std::string & | message () const noexcept |
| std::string | backtrace (const std::string &delim) const |
| bool | empty () const |
| const char * | what () const noexcept override |
|
|
| Exception (const std::string &message) noexcept |
|
| Exception (const Exception &) |
Base exception class.
- Examples
- example_action.cc, example_contents.cc, example_dep_label.cc, example_dep_spec.cc, example_dep_spec_flattener.cc, example_environment.cc, example_mask.cc, example_match_package.cc, example_metadata_key.cc, example_name.cc, example_package_id.cc, example_repository.cc, example_selection.cc, example_version_operator.cc, and example_version_spec.cc.
◆ backtrace()
| 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_environment.cc, example_mask.cc, example_match_package.cc, example_metadata_key.cc, example_name.cc, example_package_id.cc, example_repository.cc, example_selection.cc, example_version_operator.cc, and example_version_spec.cc.
References backtrace().
Referenced by backtrace().
◆ empty()
| bool paludis::Exception::empty |
( |
| ) |
const |
◆ message()
| const std::string & paludis::Exception::message |
( |
| ) |
const |
|
noexcept |
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_environment.cc, example_mask.cc, example_match_package.cc, example_metadata_key.cc, example_name.cc, example_package_id.cc, example_repository.cc, example_selection.cc, example_version_operator.cc, and example_version_spec.cc.
Referenced by paludis::args::ArgsError::ArgsError(), paludis::ConfigFileError::ConfigFileError(), paludis::ConfigFileError::ConfigFileError(), paludis::fakerepository::FakeDepParseError::FakeDepParseError(), paludis::InternalError::InternalError(), and paludis::NotAvailableError::NotAvailableError().
◆ what()
| const char * paludis::Exception::what |
( |
| ) |
const |
|
overridenoexcept |
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_environment.cc, example_mask.cc, example_match_package.cc, example_metadata_key.cc, example_name.cc, example_package_id.cc, example_repository.cc, example_selection.cc, example_version_operator.cc, and example_version_spec.cc.
References what().
Referenced by what().
The documentation for this class was generated from the following file:
- /var/tmp/paludis/build/sys-apps-paludis-scm-r1/work/paludis-scm/paludis/util/exception.hh