PlotterException.cxx
Go to the documentation of this file.
1 
12 #include "PlotterException.h"
13 
14 namespace hippodraw {
15 
17 PlotterException ( const std::string & type )
18 {
19  m_message = type;
20 }
21 
24  : exception ()
25 {
26  m_message = e.m_message;
27 }
28 
30 ~PlotterException () throw ()
31 {
32 }
33 
34 const char *
36 what () const throw ()
37 {
38  return m_message.c_str();
39 }
40 
41 } // namespace hippodraw
42 
virtual const char * what() const
The standard method to return a string giving message about the cause of the exception.
std::string m_message
The error message.
PlotterException(const std::string &message)
Constructor taking the error message as argument.
PyArray_TYPES type(numeric::array arr)
Definition: num_util.cpp:249
PlotterException class interface.
An exception class that is thrown when attempting an illegal operation on a PlotterBase object...
virtual ~PlotterException()
The virtual destructor.

Generated for HippoDraw Class Library by doxygen