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 
An exception class that is thrown when attempting an illegal operation on a PlotterBase object...
virtual ~PlotterException()
The virtual destructor.
Namespace for HippoDraw.
Definition: AxesType.cxx:21
PlotterException(const std::string &message)
Constructor taking the error message as argument.
PlotterException class interface.
PyArray_TYPES type(numeric::array arr)
Definition: num_util.cpp:249
std::string m_message
The error message.
virtual const char * what() const
The standard method to return a string giving message about the cause of the exception.

Generated for HippoDraw Class Library by doxygen