[r1]: trunk / MMix / MMix.Machine / Exception.cpp  Maximize  Restore  History

Download this file

10 lines (6 with data), 402 Bytes

1
2
3
4
5
6
7
8
9
#include <MMix.Machine/Exception.hpp>
namespace MMix { namespace Machine {
Exception::Exception(const String& message_, const String& content_, const String& fileName_, const Position& position_):
std::runtime_error(message_ + " in file '" + fileName_ + "' at line " + IntToString(position_.line) + ":\n" +
GetErrorLines(content_, position_)) {}
} } // namespace MMix::Machine

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks