#include <XmlReader.hpp>
Public Member Functions | |
XmlNoTagException (std::string msg=std::string("XmlNoTagException!")) |
An XmlNoTagException is thrown whenever the user attempts to read an object, which is not present at the current path. This does not hold when reading a vector of objects. In this case the length of the vector is simply set to 0, if no object can be read. Also note that an XmlNoTagException exception is never thrown if the user passes a stream command to the input stream.
imaging::XmlReader::XmlNoTagException::XmlNoTagException | ( | std::string | msg = std::string("XmlNoTagException!") |
) | [inline] |
Constructor. The user can pass a custom error message.