jaula API Reference version 1.4.0
|
Class for bad object property name exceptions. More...
#include <jaula_name_duplicated.h>
Public Member Functions | |
virtual std::string const & | getDetail (void) const |
Retrieves the detailed description for the exception. | |
std::string const & | getName (void) const |
Retrieves the name of the duplicated property. | |
Name_Duplicated (std::string const &name="", std::string const &action="", std::string const &origin="") | |
Constructor. | |
Name_Duplicated & | operator= (Name_Duplicated const &orig) |
Assignment operator. | |
void | setName (std::string const &name) |
Establishes the name for the duplicated property. | |
virtual | ~Name_Duplicated () |
Destructor. | |
Private Attributes | |
std::string | detail_ |
std::string | name_ |
Class for bad object property name exceptions.
JAULA::Name_Duplicated::Name_Duplicated | ( | std::string const & | name = "" , |
std::string const & | action = "" , |
||
std::string const & | origin = "" |
||
) |
Constructor.
name | Invalid object property name (duplicated). |
action | action being performed when the exception arose. |
origin | Name of the method (and others methods that have called this) by the time the exception arose. |
References setName().
JAULA::Name_Duplicated::~Name_Duplicated | ( | ) | [virtual] |
Destructor.
std::string const & JAULA::Name_Duplicated::getDetail | ( | void | ) | const [virtual] |
Retrieves the detailed description for the exception.
Reimplemented from JAULA::Exception.
References detail_.
std::string const & JAULA::Name_Duplicated::getName | ( | void | ) | const |
Retrieves the name of the duplicated property.
References name_.
Name_Duplicated & JAULA::Name_Duplicated::operator= | ( | Name_Duplicated const & | orig | ) |
Assignment operator.
orig | Original instance to copy |
void JAULA::Name_Duplicated::setName | ( | std::string const & | name | ) |
Establishes the name for the duplicated property.
name | Name of the object property that launched the exception. |
References detail_, and name_.
Referenced by Name_Duplicated().
std::string JAULA::Name_Duplicated::detail_ [private] |
workspace where to generate class specific detail
Reimplemented from JAULA::Exception.
Referenced by getDetail(), and setName().
std::string JAULA::Name_Duplicated::name_ [private] |