From f6d1944f6e627e2ceb2581ec286351b0ebf014da Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Fri, 12 Aug 2016 22:01:08 +0200 Subject: [PATCH] Correct exception text --- src/app/GApplicationPars.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/GApplicationPars.cpp b/src/app/GApplicationPars.cpp index 376a81b..b4e5840 100644 --- a/src/app/GApplicationPars.cpp +++ b/src/app/GApplicationPars.cpp @@ -204,9 +204,9 @@ GApplicationPar& GApplicationPars::operator[](const std::string& name) // Throw exception if parameter name has not been found if (index == -1) { - std::string msg = "Parameter \""+name+"\" has not been found in" - " parameter file.\n" - "Please specify a valid parameter name."; + std::string msg = "Parameter \""+name+"\" has not been found in " + "parameter file. Please specify a valid parameter " + "name."; throw GException::invalid_argument(G_ACCESS, msg); } @@ -231,9 +231,9 @@ const GApplicationPar& GApplicationPars::operator[](const std::string& name) con // Throw exception if parameter name has not been found if (index == -1) { - std::string msg = "Parameter \""+name+"\" has not been found in" - " parameter file.\n" - "Please specify a valid parameter name."; + std::string msg = "Parameter \""+name+"\" has not been found in " + "parameter file. Please specify a valid parameter " + "name."; throw GException::invalid_argument(G_ACCESS, msg); } -- libgit2 0.21.4