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 <exception>
22 
23 namespace gtsam {
24 
28  class InconsistentEliminationRequested : public std::exception {
29  public:
31  ~InconsistentEliminationRequested() noexcept override {}
32  const char* what() const noexcept override {
33  return
34  "An inference algorithm was called with inconsistent arguments. The\n"
35  "factor graph, ordering, or variable index were inconsistent with each\n"
36  "other, or a full elimination routine was called with an ordering that\n"
37  "does not include all of the variables.";
38  }
39  };
40 
41 }
Included from all GTSAM files.
const char * what() const noexcept override
traits
Definition: chartTesting.h:28


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:34:22