Skip to content
Snippets Groups Projects
Commit c7aeccc8 authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[common.parameter.configcontianer] fixed wrond exception

parent 37f891ae
No related branches found
No related tags found
No related merge requests found
......@@ -79,6 +79,10 @@ std::ostream& operator<<(std::ostream& out, const Request& r)
return out;
}
class InvalidParameter : public Dune::Exception
{
};
class ConfigContainer
{
private:
......@@ -92,7 +96,7 @@ private:
return val;
std::stringstream ss;
validator.print(ss);
DUNE_THROW(Dune::ParameterInvalid, ss.str());
DUNE_THROW(InvalidParameter, ss.str());
}
//! return a set of Request objects for keys that have been queried with non-matching default values
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment