Skip to content
Snippets Groups Projects
Commit 4bf4f278 authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

Remove unused exception.

parent eb208fdc
Branches
Tags
No related merge requests found
......@@ -19,7 +19,6 @@
# include <string>
# include <ostream>
# include <hpp/util/exception.hh>
# include "hpp/manipulation/config.hh"
# include "hpp/manipulation/fwd.hh"
......@@ -30,8 +29,6 @@ namespace hpp {
namespace manipulation {
typedef constraints::ImplicitPtr_t ImplicitPtr_t;
namespace graph {
HPP_MAKE_EXCEPTION ( HPP_MANIPULATION_DLLAPI, Bad_function_call );
/// \defgroup constraint_graph Constraint Graph
/// \addtogroup constraint_graph
......
......@@ -55,14 +55,14 @@ namespace hpp {
void addNumericalConstraint (const constraints::ImplicitPtr_t& /* function */,
const segments_t& /* passiveDofs */ = segments_t ())
{
HPP_THROW_EXCEPTION (Bad_function_call, "This component does not have constraints.");
throw std::logic_error ("StateSelector component does not have constraints.");
}
/// Should never be called.
void addLockedJointConstraint
(const constraints::LockedJoint& /* constraint */)
{
HPP_THROW_EXCEPTION (Bad_function_call, "This component does not have constraints.");
throw std::logic_error ("StateSelector component does not have constraints.");
}
/// Print the object in a stream.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment