attempt to call a pure virtual method via a director method */
| 3251 | |
| 3252 | /* attempt to call a pure virtual method via a director method */ |
| 3253 | class DirectorPureVirtualException : public Swig::DirectorException |
| 3254 | { |
| 3255 | public: |
| 3256 | DirectorPureVirtualException(const char* msg = "") |
| 3257 | : DirectorException(PyExc_RuntimeError, "SWIG director pure virtual method called", msg) |
| 3258 | { |
| 3259 | } |
| 3260 | |
| 3261 | static void raise(const char *msg) |
| 3262 | { |
| 3263 | throw DirectorPureVirtualException(msg); |
| 3264 | } |
| 3265 | }; |
| 3266 | |
| 3267 | |
| 3268 | #if defined(SWIG_PYTHON_THREADS) |