paludis::NameError Class Reference
[ExceptionsNames and Versions]

#include <exception.hh>

Inheritance diagram for paludis::NameError:

paludis::Exception paludis::BadVersionSpecError paludis::CategoryNamePartError paludis::ChoiceNameWithPrefixError paludis::ChoicePrefixNameError paludis::KeywordNameError paludis::PackageNamePartError paludis::QualifiedPackageNameError paludis::RepositoryNameError paludis::SetNameError paludis::SlotNameError paludis::UnprefixedChoiceNameError

List of all members.

Protected Member Functions

 NameError (const std::string &name, const std::string &role) throw ()
 NameError (const std::string &name, const std::string &role, const std::string &msg) throw ()


Detailed Description

A NameError is an Exception that is thrown when some kind of invalid name is encountered.
Examples:

example_name.cc.


Constructor & Destructor Documentation

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:
Generated on Mon Sep 21 10:36:11 2009 for paludis by  doxygen 1.5.4