1 #ifndef INVALID_SHADER_PROGRAM_EXCEPTION_H
2 #define INVALID_SHADER_PROGRAM_EXCEPTION_H
9 unsigned int shader_program;
12 this->shader_program = shader_program;
15 virtual const char*
what()
const throw() {
17 s <<
"Invalid shader program with binding: " << this->shader_program;
18 return s.str().c_str();
virtual const char * what() const
Definition: invalid_shader_program_exception.h:15
InvalidShaderProgramException(const unsigned int shader_program)
Definition: invalid_shader_program_exception.h:11
Definition: invalid_shader_program_exception.h:7