passwordfile/io/parsingexception.cpp

25 lines
420 B
C++
Raw Normal View History

2015-09-06 20:33:27 +02:00
#include "./parsingexception.h"
2015-04-22 19:06:29 +02:00
namespace Io {
/*!
* \class ParsingException
* \brief The exception that is thrown when a parsing error occurs.
*/
/*!
* \brief Constructs a parsing exception.
*/
ParsingException::ParsingException(const std::string &message) noexcept
: runtime_error(message)
2017-05-01 03:25:30 +02:00
{
}
2015-04-22 19:06:29 +02:00
/*!
* \brief Destroys the exception.
*/
ParsingException::~ParsingException() noexcept
2017-05-01 03:25:30 +02:00
{
}
2018-03-20 20:11:31 +01:00
} // namespace Io