Go to the documentation of this file.
33 #include <RobotAPI/interface/aron.h>
47 AronException(
const std::string& prettymethod,
const std::string& reason) :
48 LocalException(prettymethod +
": " + reason +
".")
53 const std::string& reason,
55 LocalException(prettymethod +
": " + reason +
". The path was: " + path.
toString())
63 auto currentReason = getReason();
64 if (not additionalMessage.empty())
66 setReason(currentReason +
". Additional Message: " + additionalMessage);
79 "REACHED THE END OF A NON VOID METHOD. PERHAPS YOU FORGOT TO ADD A VALUE "
80 "TO SOME SWITCH-CASE STATEMEMT?.")
94 AronException(prettymethod,
"This method is not yet implemented!")
108 const std::string& reason,
109 const data::dto::GenericDataPtr&
data) :
110 AronException(prettymethod, reason +
". The ice_id of the data was: " +
data->ice_id())
115 const std::string& reason,
116 const data::dto::GenericDataPtr&
data,
119 reason +
". The ice_id of the data was: " +
data->ice_id(),
125 const std::string& reason,
126 const type::dto::GenericTypePtr& type) :
127 AronException(prettymethod, reason +
". The ice_id of the type was: " + type->ice_id())
132 const std::string& reason,
133 const type::dto::GenericTypePtr& type,
136 reason +
". The ice_id of the type was: " + type->ice_id(),
151 const std::string& reason,
152 const std::string&
input) :
158 const std::string& reason,
159 const std::string&
input,
166 const std::string& reason,
167 const std::string&
input,
168 const std::string& expectation) :
169 AronException(prettymethod, reason +
". Got: " +
input +
". Expected: " + expectation)
174 const std::string& reason,
175 const std::string&
input,
176 const std::string& expectation,
179 reason +
". Got: " +
input +
". Expected: " + expectation,
A base class for aron exceptions.
AronNotValidException(const std::string &prettymethod, const std::string &reason, const type::dto::GenericTypePtr &type, const Path &path)
AronNotValidException(const std::string &prettymethod, const std::string &reason, const data::dto::GenericDataPtr &data)
NotImplementedYetException(const std::string &prettymethod)
ValueNotValidException()=delete
AronException(const std::string &prettymethod, const std::string &reason, const Path &path)
AronNotValidException()=delete
The NotImplementedYetException class.
AronException(const std::string &prettymethod, const std::string &reason)
The ValueNotValidException class.
ValueNotValidException(const std::string &prettymethod, const std::string &reason, const std::string &input)
ValueNotValidException(const std::string &prettymethod, const std::string &reason, const std::string &input, const std::string &expectation)
ReaderT::InputType & input
The AronNotValidException class.
ValueNotValidException(const std::string &prettymethod, const std::string &reason, const std::string &input, const std::string &expectation, const Path &path)
AronNotValidException(const std::string &prettymethod, const std::string &reason, const data::dto::GenericDataPtr &data, const Path &path)
AronEOFException()=delete
AronException & operator()(const std::string &additionalMessage="")
call operator to append a message to the exception. Used by ARMARX_CHECK_AND_THROW
const char * toString(InteractionFeedbackType type)
ValueNotValidException(const std::string &prettymethod, const std::string &reason, const std::string &input, const Path &path)
AronNotValidException(const std::string &prettymethod, const std::string &reason, const type::dto::GenericTypePtr &type)
NotImplementedYetException()=delete
AronEOFException(const std::string &prettymethod)