Jive reference manual
List of all members | Public Types | Public Member Functions | Public Attributes
jem::gl::GLException Class Reference

#include <jem/gl/GLException.h>

Inheritance diagram for jem::gl::GLException:
Inheritance graph

Public Types

typedef GLException Self
 
typedef Exception Super
 

Public Member Functions

 GLException (GLenum err)
 
 GLException (const String &where, GLenum err)
 
 GLException (const Self &rhs)
 
virtual String name () const
 Returns the class name of this exception. More...
 
- Public Member Functions inherited from jem::Exception
 Exception (const String &place=String(), const String &msg=String())
 Creates an Exception instance. More...
 
- Public Member Functions inherited from jem::Throwable
 Throwable (const String &place=String(), Const String &msg=String())
 Creates a new Throwable instance. More...
 
 Throwable (const Throwable &rhs)
 Creates a copy of another Throwable instance. More...
 
 ~Throwable ()
 Destructor. More...
 
virtual String where () const
 Returns a string describing the context in which this Throwable was thrown. More...
 
virtual String what () const
 Returns a string describing why this Throwable was thrown. More...
 

Public Attributes

const GLenum errorCode
 

Member Typedef Documentation

Constructor & Destructor Documentation

jem::gl::GLException::GLException ( GLenum  err)
explicit
jem::gl::GLException::GLException ( const String where,
GLenum  err 
)
jem::gl::GLException::GLException ( const Self rhs)

Member Function Documentation

virtual String jem::gl::GLException::name ( ) const
virtual

Returns the full class name – including namespaces – of this Throwable instance. This function should be overriden by derived classes. For instance, a class named flip::FlopException should return the string "flip::FlopException".

Returns
A string describing the class name of this object.

Reimplemented from jem::Exception.

Member Data Documentation

const GLenum jem::gl::GLException::errorCode