An exception class that is thrown when the factory fails to find the request class by its name. More...
#include <FactoryException.h>
Public Member Functions | |
FactoryException (const FactoryException &) | |
The copy constructor. | |
FactoryException (const std::string &type) | |
The constructor. | |
char const * | what () const throw () |
The error message that can be retreived. | |
virtual | ~FactoryException () throw () |
The destructor. | |
Private Attributes | |
std::string | m_type |
The type name that could not be found in the factory. |
An exception class that is thrown when the factory fails to find the request class by its name.
The class contains the error message with the failed name.
Definition at line 34 of file FactoryException.h.
FactoryException | ( | const FactoryException & | e | ) |
The copy constructor.
Definition at line 19 of file FactoryException.cxx.
References FactoryException::m_type.
FactoryException | ( | const std::string & | type | ) |
The constructor.
Takes as argument the type name that could not be found in the factory.
Definition at line 26 of file FactoryException.cxx.
References FactoryException::m_type.
~FactoryException | ( | ) | throw () [virtual] |
The destructor.
Definition at line 32 of file FactoryException.cxx.
char const * what | ( | ) | const throw () |
The error message that can be retreived.
Definition at line 38 of file FactoryException.cxx.
References FactoryException::m_type.
Referenced by DataRepController::createDataRep().
std::string m_type [private] |
The type name that could not be found in the factory.
Definition at line 39 of file FactoryException.h.
Referenced by FactoryException::FactoryException(), and FactoryException::what().