The spica renderer
Main Page
Modules
Classes
Files
File List
sources
core
exception.h
1
#ifdef _MSC_VER
2
#pragma once
3
#endif
4
5
#ifndef SPICA_EXCEPTION_H
6
#define SPICA_EXCEPTION_H
7
8
#include <cstdio>
9
#include <cstdarg>
10
#include <string>
11
#include <stdexcept>
12
13
#include "core/common.h"
14
15
namespace
spica {
16
17
class
SPICA_EXPORTS
RuntimeException
:
public
std::exception {
18
public
:
19
RuntimeException
() noexcept;
20
RuntimeException
(
const
std::string &message) noexcept;
21
RuntimeException
(
const
char
*format, ...) noexcept;
22
RuntimeException
(
const
RuntimeException
&e) noexcept;
23
RuntimeException
&operator=(
const
RuntimeException
&e) noexcept;
24
25
virtual
~
RuntimeException
();
26
virtual
const
char
*what()
const
noexcept
override
;
27
28
private
:
29
std::string message_;
30
};
31
32
}
// namespace spica
33
34
#endif //SPICA_EXCEPTION_H
spica::RuntimeException
Definition:
exception.h:17
Generated by
1.8.6