Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
sdl_exceptions.h
Go to the documentation of this file.
1#pragma once
2
3#include <Common/exceptions.h>
4
5#include <string>
6
7namespace ph
8{
9
12class SdlException : public RuntimeException
13{
14public:
15 explicit SdlException(const std::string& message);
16 explicit SdlException(const char* message);
17};
18
22{
23public:
25};
26
30{
31public:
33};
34
35// In-header Implementations:
36
37inline SdlException::SdlException(const std::string& message) :
38 RuntimeException(message)
39{}
40
41inline SdlException::SdlException(const char* const message) :
42 RuntimeException(message)
43{}
44
45}// end namespace ph
General exception thrown on error related to SDL.
Definition sdl_exceptions.h:13
SdlException(const std::string &message)
Definition sdl_exceptions.h:37
Error on the SDL input process.
Definition sdl_exceptions.h:22
Error on the SDL output process.
Definition sdl_exceptions.h:30
The root for all renderer implementations.
Definition EEngineProject.h:6