Passwordfile library: io/parsingexception.h Source File

Passwordfile library 5.2.1 C++ library to read/write passwords from/to encrypted files

Loading...
Searching...
No Matches
parsingexception.h
Go to the documentation of this file.
1#ifndef PASSWORD_FILE_IO_PARSINGEXCEPTION_H
2#define PASSWORD_FILE_IO_PARSINGEXCEPTION_H
3
4#include "../global.h"
5
6#include <stdexcept>
7#include <string>
8
9namespace Io {
10
11 class PASSWORD_FILE_EXPORT ParsingException : public std::runtime_error {
12public:
13 explicit ParsingException(const std::string &message = {}) noexcept;
14 explicit ParsingException(const char *message) noexcept;
15 ~ParsingException() override;
16};
17
18} // namespace Io
19
20#endif // PASSWORD_FILE_IO_PARSINGEXCEPTION_H
Io::ParsingException::ParsingException
ParsingException(const std::string &message={}) noexcept
Constructs a parsing exception.
Definition parsingexception.cpp:15
global.h
PASSWORD_FILE_EXPORT
#define PASSWORD_FILE_EXPORT
Marks the symbol to be exported by the passwordfile library.
Definition global.h:14
Io
Contains all IO related classes.
Definition cryptoexception.h:9