Vanetza
Loading...
Searching...
No Matches
exception.hpp
1
#ifndef EXCEPTION_HPP_IY8LEMBQ
2
#define EXCEPTION_HPP_IY8LEMBQ
3
4
#include <stdexcept>
5
6
namespace
vanetza
7
{
8
namespace
security
9
{
10
11
/// thrown when a serialization error occurred
12
class
serialization_error
:
public
std::runtime_error
13
{
14
public
:
15
using
std::runtime_error::runtime_error;
16
};
17
18
/// thrown when a deserialization error occurred
19
class
deserialization_error
:
public
std::runtime_error
20
{
21
public
:
22
using
std::runtime_error::runtime_error;
23
};
24
25
}
// namespace security
26
}
// namespace vanetza
27
28
#endif
/* EXCEPTION_HPP_IY8LEMBQ */
vanetza::security::deserialization_error
thrown when a deserialization error occurred
Definition:
exception.hpp:20
vanetza::security::serialization_error
thrown when a serialization error occurred
Definition:
exception.hpp:13
vanetza
security
exception.hpp
Generated on Thu Nov 30 2023 12:03:35 for Vanetza by
1.9.6