k_order_perturbation: cosmetic change

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3207 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
sebastien 2009-12-08 10:01:41 +00:00
parent 20d4107493
commit 4bcbd06980
1 changed files with 6 additions and 1 deletions

View File

@ -64,7 +64,12 @@ DynamicModelDLL::DynamicModelDLL(const string &modName, const int y_length, cons
catch (int i)
{
ostringstream msg;
msg << "Can't load " << fName << " (error code: " << i;
msg << "Error when loading " << fName << " (";
if (i == 1)
msg << "can't dynamically load the file";
if (i == 2)
msg << "can't locate the 'Dynamic' symbol";
msg << ")";
throw DynareException(__FILE__, __LINE__, msg.str());
}
catch (...)