From ad855d1cf56511ad75860652d3ede1550aea5455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Tr=C3=B6ger?= Date: Thu, 24 Oct 2013 19:16:52 +0200 Subject: [PATCH] remove exeption on solver error --- src/Mod/Assembly/App/ItemAssembly.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Mod/Assembly/App/ItemAssembly.cpp b/src/Mod/Assembly/App/ItemAssembly.cpp index 6fcd123f3..f73e531bb 100644 --- a/src/Mod/Assembly/App/ItemAssembly.cpp +++ b/src/Mod/Assembly/App/ItemAssembly.cpp @@ -79,19 +79,22 @@ App::DocumentObjectExecReturn* ItemAssembly::execute(void) { message.clear(); message << "Solver exception " << *boost::get_error_info(e) << "raised: " << boost::get_error_info(e)->c_str() << std::endl; - throw Base::Exception(message.str().c_str()); + //throw Base::Exception(message.str().c_str()); + Base::Console().Error(message.str().c_str()); } catch (std::exception& e) { message.clear(); message << "Exception raised in assembly solver: " << e.what() << std::endl; - throw Base::Exception(message.str().c_str()); + //throw Base::Exception(message.str().c_str()); + Base::Console().Error(message.str().c_str()); } catch (...) { message.clear(); message << "Unknown Exception raised in assembly solver during execution" << std::endl; - throw Base::Exception(message.str().c_str()); + //throw Base::Exception(message.str().c_str()); + Base::Console().Error(message.str().c_str()); }; this->touch(); return App::DocumentObject::StdReturn;