29 #ifndef HPP_CORE_PROJECTION_ERROR_HH
30 #define HPP_CORE_PROJECTION_ERROR_HH
43 : std::exception(other), msg_(other.msg_) {}
47 #if __cplusplus >= 201103L
48 virtual const char* what() const noexcept {
return msg_.c_str(); };
50 virtual const char*
what()
const throw() {
return msg_.c_str(); };
65 virtual std::ostream&
print(std::ostream& os)
const {
66 os <<
"Projection error";
67 if (!msg.empty()) os <<
" (" << msg <<
')';
Definition: validation-report.hh:47
#define HPP_CORE_DLLAPI
Definition: config.hh:64
Definition: bi-rrt-planner.hh:35
Handles projection errors when evaluating a path.
Definition: projection-error.hh:60
std::string msg
Definition: projection-error.hh:71
ProjectionError(const std::string &msg="")
Definition: projection-error.hh:61
virtual std::ostream & print(std::ostream &os) const
Write report in a stream.
Definition: projection-error.hh:65
virtual ~ProjectionError()
Definition: projection-error.hh:63
Definition: projection-error.hh:37
virtual ~projection_error() _GLIBCXX_USE_NOEXCEPT
Definition: projection-error.hh:45
projection_error()
Definition: projection-error.hh:38
virtual const char * what() const
Definition: projection-error.hh:50
projection_error(const std::string &msg)
Definition: projection-error.hh:40
std::string msg_
Definition: projection-error.hh:50
projection_error(const projection_error &other)
Definition: projection-error.hh:42