Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Private Attributes | 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:
+ Collaboration 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...
 

Private Attributes

std::string fileName_
 
int lineNumber_
 
std::string message_
 

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.

References fileName_, lineNumber_, and message_.

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.

References fileName_.

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.

References lineNumber_.

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

Member Data Documentation

std::string BIAS::glfException::fileName_
private

Definition at line 110 of file glfException.hh.

Referenced by GetFileName(), and glfException().

int BIAS::glfException::lineNumber_
private

Definition at line 111 of file glfException.hh.

Referenced by GetLineNumber(), and glfException().

std::string BIAS::glfException::message_
private

Definition at line 112 of file glfException.hh.

Referenced by GetMessageString(), and glfException().


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