Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

FactoryException.cxx

Go to the documentation of this file.
00001 /* -*- mode: c++ -*- */
00002 
00014 #include "FactoryException.h"
00015 
00016 FactoryException::
00017 FactoryException ( const FactoryException & e )
00018 {
00019   m_type = e.m_type;
00020 }
00021 
00022 FactoryException::
00023 FactoryException ( const std::string & type ) 
00024 {
00025   m_type = type;
00026 }
00027 
00028 FactoryException::
00029 ~FactoryException ( ) throw ()
00030 {
00031 }
00032 
00033 char const * 
00034 FactoryException::
00035 what () const throw ()
00036 {
00037   std::string retval ( "No such type: `" );
00038   retval += m_type;
00039   retval += "' could be found in factory";
00040 
00041   return retval.c_str();
00042 }

Generated for HippoDraw-1.14.8.5 by doxygen 1.4.3