diff --git a/test/implicit/2p2c/injectionproblem.hh b/test/implicit/2p2c/injectionproblem.hh index 67fa03f2d9f8550c1b34b98d9cdc598195abe754..96d2a2af2c105fd588d2de111003b6faadd6d134 100644 --- a/test/implicit/2p2c/injectionproblem.hh +++ b/test/implicit/2p2c/injectionproblem.hh @@ -143,8 +143,6 @@ public: const GridView &gridView) : ParentType(timeManager, GridCreator::grid().leafGridView()) { - try - { nTemperature_ = GET_RUNTIME_PARAM(TypeTag, int, Problem.NTemperature); nPressure_ = GET_RUNTIME_PARAM(TypeTag, int, Problem.NPressure); pressureLow_ = GET_RUNTIME_PARAM(TypeTag, Scalar, Problem.PressureLow); @@ -154,15 +152,6 @@ public: temperature_ = GET_RUNTIME_PARAM(TypeTag, Scalar, Problem.InitialTemperature); depthBOR_ = GET_RUNTIME_PARAM(TypeTag, Scalar, Problem.DepthBOR); name_ = GET_RUNTIME_PARAM(TypeTag, std::string, Problem.Name); - } - catch (Dumux::ParameterException &e) { - std::cerr << e << ". Abort!\n"; - exit(1) ; - } - catch (...) { - std::cerr << "Unknown exception thrown!\n"; - exit(1); - } /* Alternative syntax: * typedef typename GET_PROP(TypeTag, ParameterTree) ParameterTree;