FactoryException.cxx
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #include "FactoryException.h"
15 
16 namespace hippodraw {
17 
20  : exception ()
21 {
22  m_type = e.m_type;
23 }
24 
26 FactoryException ( const std::string & type )
27 {
28  m_type = type;
29 }
30 
32 ~FactoryException ( ) throw ()
33 {
34 }
35 
36 char const *
38 what () const throw ()
39 {
40  std::string retval ( "No such type: `" );
41  retval += m_type;
42  retval += "' could be found in factory";
43 
44  return retval.c_str();
45 }
46 
47 } // namespace hippodraw
48 

Generated for HippoDraw Class Library by doxygen