Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Exceptions.h
Go to the documentation of this file.
1#pragma once
2#include <string>
3#include <sstream>
4
5namespace EngineCore {
6
7class Exception : public std::runtime_error
8{
9public:
10 explicit Exception(const std::string& message) : std::runtime_error(message) {}
11 explicit Exception(const std::stringstream& message) : std::runtime_error(message.str()) {}
12};
13
15{
16public:
17 explicit VrHeadsetConnectionException(const std::string& message) : Exception(message) {};
18 explicit VrHeadsetConnectionException(const std::stringstream& message) : Exception(message) {}
19};
20
29{
30public:
31 explicit BufferWriteException(const std::string& message) : Exception(message) {};
32 explicit BufferWriteException(const std::stringstream& message) : Exception(message) {}
33};
34
42{
43public:
44 explicit AllocationException(const std::string& message) : Exception(message) {};
45 explicit AllocationException(const std::stringstream& message) : Exception(message) {};
46};
47
55{
56public:
57 explicit MissingOpenXrRuntimeException(const std::string& message) : Exception(message) {};
58 explicit MissingOpenXrRuntimeException(const std::stringstream& message) : Exception(message) {};
59};
60}
AllocationException(const std::string &message)
Definition Exceptions.h:44
AllocationException(const std::stringstream &message)
Definition Exceptions.h:45
BufferWriteException(const std::stringstream &message)
Definition Exceptions.h:32
BufferWriteException(const std::string &message)
Definition Exceptions.h:31
Exception(const std::stringstream &message)
Definition Exceptions.h:11
Exception(const std::string &message)
Definition Exceptions.h:10
MissingOpenXrRuntimeException(const std::string &message)
Definition Exceptions.h:57
MissingOpenXrRuntimeException(const std::stringstream &message)
Definition Exceptions.h:58
VrHeadsetConnectionException(const std::stringstream &message)
Definition Exceptions.h:18
VrHeadsetConnectionException(const std::string &message)
Definition Exceptions.h:17
Log category system implementation.
STL namespace.