Nymph Game Engine
Chaiscript based Game Engine
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
invalid_uniform_name_exception.h
Go to the documentation of this file.
1
#ifndef INVALID_UNIFORM_NAME_EXCEPTION_H
2
#define INVALID_UNIFORM_NAME_EXCEPTION_H
3
#include <exception>
4
5
namespace
Exceptions {
6
class
InvalidUniformNameException
:
public
std::exception {
7
private
:
8
std::string name;
9
public
:
10
InvalidUniformNameException
(
const
std::string name) {
11
this->name = name;
12
}
13
14
virtual
const
char
*
what
()
const
throw() {
15
return
(std::string(
"Invalid uniform name: "
) + this->name).c_str();
16
}
17
};
18
}
19
#endif
Exceptions::InvalidUniformNameException::what
virtual const char * what() const
Definition:
invalid_uniform_name_exception.h:14
Exceptions::InvalidUniformNameException::InvalidUniformNameException
InvalidUniformNameException(const std::string name)
Definition:
invalid_uniform_name_exception.h:10
Exceptions::InvalidUniformNameException
Definition:
invalid_uniform_name_exception.h:6
src
exceptions
invalid_uniform_name_exception.h
Generated on Sun Jan 14 2018 21:47:00 for Nymph Game Engine by
1.8.6