00001 /* -*- mode:c++ -*- */ 00002 00017 class DataRepException 00018 { 00019 %TypeHeaderCode 00020 #include "datareps/DataRepException.h" 00021 %End 00022 00023 00024 public: 00026 DataRepException ( const std::string & ); 00027 00033 DataRepException ( const DataRepException & ); 00034 00037 virtual ~DataRepException () throw (); 00038 00039 00042 const char * what () const throw (); 00043 00044 char * __str__(); 00045 // %MemberCode 00046 %MethodCode 00047 return PyString_FromString ( sipCpp->what() ); 00048 %End 00049 00050 };