solver
1.0
|
Thrown if the dataset file contains ill-specified robotic cells. More...
#include <Exceptions.h>
Public Member Functions | |
InvalidDatasetFile (const std::string &caller, const std::string &msg, int64_t lineNumber=-1) | |
Constructs a specialized exception for error handling of ill-specified datasets. More... | |
Public Member Functions inherited from SolverException | |
SolverException (const std::string &caller, const std::string &msg) | |
Constructs the exception, it comprises building of the error string and vector of lines. More... | |
virtual const char * | what () const throw () |
Virtual method returns the error message without an indentation. | |
virtual std::string | whatIndented (uint32_t level=0) const throw () |
Virtual function returning the formatted error message. More... | |
virtual | ~SolverException () throw () |
Virtual destructor is mandatory due to the polymorphism. | |
Protected Attributes | |
int64_t | mLineNumber |
Error occurred at this line in the XML file. | |
Protected Attributes inherited from SolverException | |
std::string | mWhatStr |
The formated error message without an indentation. | |
std::vector< std::string > | mWhat |
Individual lines of the error message. | |
Thrown if the dataset file contains ill-specified robotic cells.
This exception is typically thrown if a dataset file is invalid, i.e. invalid format of the XML file or incorrectly specified robotic cells. The exception adds the possibility to state the line number in the XML file where the error/inconsistency occurs.
Definition at line 99 of file Exceptions.h.
|
inline |
Constructs a specialized exception for error handling of ill-specified datasets.
caller | String representation of the method in which this exception was thrown. |
msg | Explanation of a problem in the dataset. |
lineNumber | At which line of XML file the problem occurs. |
Definition at line 108 of file Exceptions.h.