Update of /cvsroot/objecthandler/ObjectHandler/ohxl
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11422/ohxl
Modified Files:
conversions.cpp conversions.hpp functioncall.cpp
instancenamexl.cpp
Log Message:
remove redundant string conversions
Index: functioncall.cpp
===================================================================
RCS file: /cvsroot/objecthandler/ObjectHandler/ohxl/functioncall.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** functioncall.cpp 19 May 2006 15:12:41 -0000 1.1
--- functioncall.cpp 25 May 2006 16:59:51 -0000 1.2
***************
*** 68,72 ****
std::ostringstream err;
err << "FunctionCall::getAddressString(): " << e.what();
! throw Exception(err.str().c_str());
}
}
--- 68,72 ----
std::ostringstream err;
err << "FunctionCall::getAddressString(): " << e.what();
! throw Exception(err.str());
}
}
***************
*** 112,116 ****
std::ostringstream err;
err << "FunctionCall::clearCell(): " << e.what();
! throw Exception(err.str().c_str());
}
--- 112,116 ----
std::ostringstream err;
err << "FunctionCall::clearCell(): " << e.what();
! throw Exception(err.str());
}
Index: conversions.hpp
===================================================================
RCS file: /cvsroot/objecthandler/ObjectHandler/ohxl/conversions.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** conversions.hpp 23 May 2006 12:08:48 -0000 1.2
--- conversions.hpp 25 May 2006 16:59:51 -0000 1.3
***************
*** 134,138 ****
std::ostringstream msg;
msg << "operToVector: " << e.what();
! throw Exception(msg.str().c_str());
}
}
--- 134,138 ----
std::ostringstream msg;
msg << "operToVector: " << e.what();
! throw Exception(msg.str());
}
}
***************
*** 190,194 ****
std::ostringstream msg;
msg << "operToMatrix: " << e.what();
! throw Exception(msg.str().c_str());
}
}
--- 190,194 ----
std::ostringstream msg;
msg << "operToMatrix: " << e.what();
! throw Exception(msg.str());
}
}
***************
*** 244,248 ****
std::ostringstream msg;
msg << "operToVectorLibrary: " << e.what();
! throw Exception(msg.str().c_str());
}
}
--- 244,248 ----
std::ostringstream msg;
msg << "operToVectorLibrary: " << e.what();
! throw Exception(msg.str());
}
}
***************
*** 298,302 ****
std::ostringstream msg;
msg << "operToVector: " << e.what();
! throw Exception(msg.str().c_str());
}
}
--- 298,302 ----
std::ostringstream msg;
msg << "operToVector: " << e.what();
! throw Exception(msg.str());
}
}
Index: conversions.cpp
===================================================================
RCS file: /cvsroot/objecthandler/ObjectHandler/ohxl/conversions.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** conversions.cpp 19 May 2006 15:12:41 -0000 1.1
--- conversions.cpp 25 May 2006 16:59:51 -0000 1.2
***************
*** 185,189 ****
std::ostringstream msg;
msg << "operToScalar: " << e.what();
! throw Exception(msg.str().c_str());
}
}
--- 185,189 ----
std::ostringstream msg;
msg << "operToScalar: " << e.what();
! throw Exception(msg.str());
}
}
***************
*** 206,210 ****
std::ostringstream msg;
msg << "operToScalar: " << e.what();
! throw Exception(msg.str().c_str());
}
}
--- 206,210 ----
std::ostringstream msg;
msg << "operToScalar: " << e.what();
! throw Exception(msg.str());
}
}
***************
*** 227,231 ****
std::ostringstream msg;
msg << "operToScalar: " << e.what();
! throw Exception(msg.str().c_str());
}
}
--- 227,231 ----
std::ostringstream msg;
msg << "operToScalar: " << e.what();
! throw Exception(msg.str());
}
}
***************
*** 263,267 ****
std::ostringstream msg;
msg << "operToScalar: " << e.what();
! throw Exception(msg.str().c_str());
}
}
--- 263,267 ----
std::ostringstream msg;
msg << "operToScalar: " << e.what();
! throw Exception(msg.str());
}
}
Index: instancenamexl.cpp
===================================================================
RCS file: /cvsroot/objecthandler/ObjectHandler/ohxl/instancenamexl.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** instancenamexl.cpp 19 May 2006 15:12:41 -0000 1.1
--- instancenamexl.cpp 25 May 2006 16:59:51 -0000 1.2
***************
*** 49,53 ****
err << "object instance name '" << stubName_ << "' is invalid "
"because it contains the delimiter character '" << KEY_DELIMITER << "'";
! throw ObjHandler::Exception(err.str().c_str());
}
--- 49,53 ----
err << "object instance name '" << stubName_ << "' is invalid "
"because it contains the delimiter character '" << KEY_DELIMITER << "'";
! throw ObjHandler::Exception(err.str());
}
***************
*** 100,104 ****
std::ostringstream err;
err << "ObjectHandlerXL::nameIsValid: " << e.what();
! throw Exception(err.str().c_str());
}
--- 100,104 ----
std::ostringstream err;
err << "ObjectHandlerXL::nameIsValid: " << e.what();
! throw Exception(err.str());
}
|