testuser2 / hadesmem

Automatically exported from code.google.com/p/hadesmem
0 stars 0 forks source link

DotNetMgr misleading exception text #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In HadesMem/Hades-Kernel/DotNetMgr.cpp

      // Start CLR
      HRESULT StartClrResult = m_pClrRuntimeHost->Start();
      if (FAILED(StartClrResult))
      {
        BOOST_THROW_EXCEPTION(DotNetMgrError() << 
          ErrorFunction("DotNetMgr::DotNetMgr") << 
          ErrorString("Could start CLR.") << 
          ErrorCodeWin(StartClrResult));
      }

Should probably throw a "Could not start CLR."

Original issue reported on code.google.com by ochm...@gmail.com on 16 Sep 2010 at 6:15

GoogleCodeExporter commented 9 years ago
Nice catch. Fixed.

Original comment by therapto...@gmail.com on 17 Sep 2010 at 3:03

GoogleCodeExporter commented 9 years ago

Original comment by therapto...@gmail.com on 17 Sep 2010 at 3:04

GoogleCodeExporter commented 9 years ago

Original comment by therapto...@gmail.com on 17 Sep 2010 at 3:08