Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
BIAS::glfException Class Reference

Exception class used for run-time errors in the OpenGLFramework. More...

#include <OpenGLFramework/Base/glfException.hh>

+ Inheritance diagram for BIAS::glfException:

Public Member Functions

const std::string & GetFileName () const
 Returns the source code file name where the error occured. More...
 
int GetLineNumber () const
 Returns the line number in the source code file where the error occured. More...
 
const std::string & GetMessageString () const
 Returns the description of the error including the file name and line number where the error occured. More...
 
 glfException (const std::string &fileName, int lineNumber, const std::string &message)
 Exception constructor. More...
 

Detailed Description

Exception class used for run-time errors in the OpenGLFramework.

Author
jkollmann
Examples:
ExampleMultipleDepthWarp.cpp, ExampleMultisampleBlit.cpp, ExamplePlainPerPixelProcessing.cpp, ExampleRenderingContext.cpp, ExampleStencilBuffer.cpp, and ExampleTemplateSpecializedBatch.cpp.

Definition at line 79 of file glfException.hh.

Constructor & Destructor Documentation

glfException::glfException ( const std::string &  fileName,
int  lineNumber,
const std::string &  message 
)

Exception constructor.

Parameters
fileNameFile name of source code file where the error occured.
lineNumberLine number in source code file where the error occured.
messageDescription of the error.

Definition at line 29 of file glfException.cpp.

Member Function Documentation

const std::string & glfException::GetFileName ( ) const

Returns the source code file name where the error occured.

Definition at line 42 of file glfException.cpp.

int glfException::GetLineNumber ( ) const

Returns the line number in the source code file where the error occured.

Definition at line 47 of file glfException.cpp.

const std::string & glfException::GetMessageString ( ) const

The documentation for this class was generated from the following files: