gem5/ext/dsent/libutil/Exception.cc
Nilay Vaish e8ed7b1d1b ext: add the source code for DSENT
This patch adds a tool called DSENT to the ext/ directory.  DSENT
is a tool that models power and area for on-chip networks.  The next
patch adds a script for using the tool.
2014-10-11 15:02:23 -05:00

18 lines
313 B
C++

#include "Exception.h"
namespace LibUtil
{
Exception::Exception(const String& exception_msg_) throw()
: exception(), mExceptionMsg(exception_msg_)
{}
Exception::~Exception() throw()
{}
const char* Exception::what() const throw()
{
return mExceptionMsg.c_str();
}
}