gtsam  4.0.0
gtsam
inferenceExceptions.h
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2 
3  * GTSAM Copyright 2010, Georgia Tech Research Corporation,
4  * Atlanta, Georgia 30332-0415
5  * All Rights Reserved
6  * Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7 
8  * See LICENSE for the license information
9 
10  * -------------------------------------------------------------------------- */
11 
18 #pragma once
19 
20 #include <gtsam/global_includes.h>
21 #include <boost/lexical_cast.hpp>
22 #include <exception>
23 
24 namespace gtsam {
25 
29  class InconsistentEliminationRequested : public std::exception {
30  public:
32  virtual ~InconsistentEliminationRequested() throw() {}
33  virtual const char* what() const throw() {
34  return
35  "An inference algorithm was called with inconsistent arguments. The\n"
36  "factor graph, ordering, or variable index were inconsistent with each\n"
37  "other, or a full elimination routine was called with an ordering that\n"
38  "does not include all of the variables.";
39  }
40  };
41 
42 }
Included from all GTSAM files.
An inference algorithm was called with inconsistent arguments.
Definition: inferenceExceptions.h:29
Global functions in a separate testing namespace.
Definition: chartTesting.h:28