URL
https://opencores.org/ocsvn/scarm/scarm/trunk
Subversion Repositories scarm
[/] [scarm/] [trunk/] [src/] [scException.cpp] - Rev 8
Compare with Previous | Blame | View Log
// scException.cpp: implementation of the scException class. // ////////////////////////////////////////////////////////////////////// #include "scException.h" #include<stdlib.h> #include <string.h> #define BASIC_ERROR "Unknown exception" ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////////////////////////////////////// scException::scException() { m_strError = strdup(BASIC_ERROR); } scException::~scException() { free(m_strError); }