exceptions.h
Go to the documentation of this file.
1#pragma once
2
3#include <sstream>
4#include <stdexcept>
5
6#include "VariantValue.h" // for TrackID
7
9{
10
11
12 struct TrajectoryException : public std::logic_error
13 {
14 TrajectoryException(const std::string& msg);
15 };
16
21
23 {
24 NoTrackWithID(const TrackID& id);
25 static std::string makeMsg(const TrackID& id);
26 };
27
29 {
30 EmptyTrack(const TrackID& id);
31 static std::string makeMsg(const TrackID& id);
32 };
33
35 {
36 WrongValueTypeInKeyframe(const TrackID& trackID, int typeIndex, int expectedTypeIndex);
37 };
38
39
40} // namespace armarx::trajectory::error
std::string TrackID
ID of tracks.
static std::string makeMsg(const TrackID &id)
static std::string makeMsg(const TrackID &id)
WrongValueTypeInKeyframe(const TrackID &trackID, int typeIndex, int expectedTypeIndex)