NRE_GLXException.hpp
Go to the documentation of this file.
1 
10  #pragma once
11 
12  #include "NRE_SystemException.hpp"
13 
18  namespace NRE {
23  namespace Exception {
24 
29  class GLXException : public SystemException {
30  public:
35  GLXException(Utility::String const& log) throw() : SystemException(("GLX Exception : " + log).getCData()) {
36  }
37 
44  friend std::ostream& operator <<(std::ostream& stream, GLXException const& o) {
45  return stream << o.toString();
46  }
47  };
48  }
49  }
SystemException(Utility::String const &log)
Definition: NRE_SystemException.hpp:35
Utility&#39;s API.
friend std::ostream & operator<<(std::ostream &stream, GLXException const &o)
Definition: NRE_GLXException.hpp:44
Declaration of System&#39;s API&#39;s Object : SystemException.
GLXException(Utility::String const &log)
Definition: NRE_GLXException.hpp:35
An exception thrown by system operation.
Definition: NRE_SystemException.hpp:29
The NearlyRealEngine&#39;s global namespace.
An exception thrown by glx operation.
Definition: NRE_GLXException.hpp:29