55 mString ( ( char* ) malloc ( 65536 ) )
57 gettimeofday ( &mTime, NULL );
65 mString ( ( char* ) malloc ( 65536 ) )
67 strcpy ( mString , aExc.mString );
72 strcpy ( mString , aExc.
mString );
77 exception::~exception() throw()
87 const char* exception::what()
const throw()
90 if ( strlen ( mString ) )
96 std::stringstream lStr;
97 lStr << description() <<
" (no additional info)";
98 std::string lString ( lStr.str() );
99 strncpy ( mString , lString.c_str() , 65536 );
104 void exception::append (
const char* aCStr )
throw()
106 strncat ( mString, aCStr , 65536-strlen ( mString ) );
Wrapper to generate a new Python exception type.
object & operator=(const object &other)
An abstract base exception class, including an interface to throw as the derived type (for passing ex...
timeval mTime
The time at which the exception was thrown.
char * mString
Memory into which message is added by calls to append.