2#ifndef ADUL_EXCEPTIONS_HPP
3#define ADUL_EXCEPTIONS_HPP
17 class FailedReadingXMLFile;
18 class FailedWritingXMLFile;
29 std::string
msg =
"!Error occurred! No info provided!\n";
35 virtual const char*
what() const noexcept override;
45 std::string
msg =
"Failed working with XML file";
49 virtual const char*
what() const noexcept override;
represents failure with reading from XML file
Definition exceptions.hpp:58
FailedReadingXMLFile(const std::string &p_msg)
FailedReadingXMLFile(const FailedReadingXMLFile &)=default
FailedReadingXMLFile(FailedReadingXMLFile &&)=default
represents failure with writing to XML file
Definition exceptions.hpp:71
FailedWritingXMLFile(const std::string &p_msg)
FailedWritingXMLFile(FailedWritingXMLFile &&)=default
FailedWritingXMLFile(const FailedWritingXMLFile &)=default
represents failure with working with XML file
Definition exceptions.hpp:43
virtual const char * what() const noexcept override
FailedXMLFile(const std::string &p_msg)
modified std::exception class The only difference is that you define message by yourself when create...
Definition exceptions.hpp:27
Message(const std::string &)
std::string msg
Definition exceptions.hpp:29
virtual const char * what() const noexcept override
project api's namespace
Definition atm.hpp:4