elaborate runtime_error in InterfaceState

This commit is contained in:
v4hn 2018-02-24 01:34:32 +01:00 committed by Robert Haschke
parent 9709fd687d
commit 7caed29cb1

View File

@ -64,7 +64,7 @@ Interface::iterator Interface::add(InterfaceState &&state, SolutionBase* incomin
if (!state.incomingTrajectories().empty() || !state.outgoingTrajectories().empty())
throw std::runtime_error("expecting empty incoming/outgoing trajectories");
if (!state.scene())
throw std::runtime_error("expecting valid planning scene");
throw std::runtime_error("expecting valid planning scene in InterfaceState");
// move state to a list node
std::list<InterfaceState> container;