Vita
exceptions.h
Go to the documentation of this file.
1
13#if !defined(VITA_EXCEPTIONS_H)
14#define VITA_EXCEPTIONS_H
15
16#include <stdexcept>
17
18namespace vita
19{
20
29namespace exception
30{
31
32class data_format : public std::runtime_error
33{ using std::runtime_error::runtime_error; };
34class insufficient_data : public std::logic_error
35{ using std::logic_error::logic_error; };
36
37} // namespace exception
38
39} // namespace vita
40
41#endif // include guard
The main namespace for the project.