Carna  Version 3.3.2
ShaderCompilationError.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2010 - 2015 Leonid Kostrykin
3  *
4  * Chair of Medical Engineering (mediTEC)
5  * RWTH Aachen University
6  * Pauwelsstr. 20
7  * 52074 Aachen
8  * Germany
9  *
10  */
11 
12 #ifndef SHADERCOMPILATIONERROR_H_6014714286
13 #define SHADERCOMPILATIONERROR_H_6014714286
14 
20 
21 namespace Carna
22 {
23 
24 namespace base
25 {
26 
27 
28 
29 // ----------------------------------------------------------------------------------
30 // ShaderCompilationError
31 // ----------------------------------------------------------------------------------
32 
39 class CARNA_LIB ShaderCompilationError : public CarnaException
40 {
41 
42 public:
43 
50  explicit ShaderCompilationError( const std::string& details );
51 
64  ( const std::string& details
65  , const std::string& vertexShaderFile
66  , const std::string& fragmentShaderFile );
67 
68 }; // ShaderCompilationError
69 
70 
71 
72 } // namespace Carna :: base
73 
74 } // namespace Carna
75 
76 #endif // SHADERCOMPILATIONERROR_H_6014714286
Thrown when shader compilation fails.
Base exception class that provides distinct attributes for the type (category) of the exception...
Defines Carna::base::CarnaException, Carna::base::AssertionFailure.