OpenCores
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);
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.