Optibits
Loading...
Searching...
No Matches
include
Optibits
common
Exception.hpp
1
#pragma once
2
3
4
5
#include <exception>
6
#include <cstdarg>
7
#include <cstdio>
8
#include <cstring>
9
#include <string>
10
11
12
13
namespace
Optibits
14
{
15
16
class
Exception
:
public
std::exception
17
{
18
19
public
:
20
21
Exception
(
const
char
*fmt, ...);
22
virtual
~Exception
()
throw
();
23
24
inline
virtual
const
char
*why()
const
throw
()
25
{
26
return
msg.c_str();
27
}
28
29
private
:
30
31
std::string msg;
32
33
};
34
35
36
}
Optibits::Exception
Definition
Exception.hpp:17
Generated by
1.12.0