#include <exception.hh>
|
| | NameError (const std::string &name, const std::string &role) throw () |
| |
| | NameError (const std::string &name, const std::string &role, const std::string &msg) throw () |
| |
|
| Exception (const std::string &message) throw () |
| |
|
| Exception (const Exception &) |
| |
A NameError is an Exception that is thrown when some kind of invalid name is encountered.
- Examples:
- example_name.cc.
| paludis::NameError::NameError |
( |
const std::string & |
name, |
|
|
const std::string & |
role |
|
) |
| throw () |
|
protected |
Constructor.
- Parameters
-
| name | The invalid name encountered. |
| role | The role for the name, for example "package name". |
| paludis::NameError::NameError |
( |
const std::string & |
name, |
|
|
const std::string & |
role, |
|
|
const std::string & |
msg |
|
) |
| throw () |
|
protected |
Constructor.
- Parameters
-
| name | The invalid name encountered. |
| role | The role for the name, for example "package name". |
| msg | Any extra message. |
The documentation for this class was generated from the following file: