Public Member Functions | Private Member Functions | Private Attributes | List of all members
GENICAM_NAMESPACE::GenericException Class Reference

GenICam's exception class. More...

#include <GCException.h>

Public Member Functions

 GenericException (const char *pDescription, const char *pSourceFileName, unsigned int SourceLine)
 Constructor. More...
 
 GenericException (const char *pDescription, const char *pSourceFileName, unsigned int SourceLine, const char *pExceptionType)
 Constructor. More...
 
 GenericException (const char *pDescription, const char *pSourceFileName, unsigned int SourceLine, const char *pEntryPoint, const char *pErrorNodeName, const char *pExceptionType)
 Constructor (GenApi specific) More...
 
virtual const char * GetDescription () const throw ()
 Get error description. More...
 
virtual const char * GetSourceFileName () const throw ()
 Get filename in which the error occurred. More...
 
virtual unsigned int GetSourceLine () const throw ()
 Get line number at which the error occurred. More...
 
virtual const char * what () const throw ()
 Get error description (overwrite from std:exception) More...
 
virtual ~GenericException () throw ()
 

Private Member Functions

void AssembleMessage ()
 Assembles the error message. More...
 

Private Attributes

GENICAM_NAMESPACE::gcstring m_Description
 Error description. More...
 
GENICAM_NAMESPACE::gcstring m_EntryPoint
 Node and method where the call stack entered the node map (may be empty) More...
 
GENICAM_NAMESPACE::gcstring m_ErrorNodeName
 Node where the error occurred (may be empty) More...
 
GENICAM_NAMESPACE::gcstring m_ExceptionType
 The full error message. More...
 
GENICAM_NAMESPACE::gcstring m_SourceFileName
 Filename in which the error occurred. More...
 
unsigned int m_SourceLine
 Line number at which the error occurred. More...
 
GENICAM_NAMESPACE::gcstring m_What
 The full error message. More...
 

Detailed Description

GenICam's exception class.

Definition at line 62 of file GCException.h.

Constructor & Destructor Documentation

GENICAM_NAMESPACE::GenericException::GenericException ( const char *  pDescription,
const char *  pSourceFileName,
unsigned int  SourceLine 
)

Constructor.

GENICAM_NAMESPACE::GenericException::GenericException ( const char *  pDescription,
const char *  pSourceFileName,
unsigned int  SourceLine,
const char *  pExceptionType 
)

Constructor.

GENICAM_NAMESPACE::GenericException::GenericException ( const char *  pDescription,
const char *  pSourceFileName,
unsigned int  SourceLine,
const char *  pEntryPoint,
const char *  pErrorNodeName,
const char *  pExceptionType 
)

Constructor (GenApi specific)

virtual GENICAM_NAMESPACE::GenericException::~GenericException ( )
throw (
)
virtual

Member Function Documentation

void GENICAM_NAMESPACE::GenericException::AssembleMessage ( )
private

Assembles the error message.

virtual const char* GENICAM_NAMESPACE::GenericException::GetDescription ( ) const
throw (
)
virtual

Get error description.

virtual const char* GENICAM_NAMESPACE::GenericException::GetSourceFileName ( ) const
throw (
)
virtual

Get filename in which the error occurred.

virtual unsigned int GENICAM_NAMESPACE::GenericException::GetSourceLine ( ) const
throw (
)
virtual

Get line number at which the error occurred.

virtual const char* GENICAM_NAMESPACE::GenericException::what ( ) const
throw (
)
virtual

Get error description (overwrite from std:exception)

Member Data Documentation

GENICAM_NAMESPACE::gcstring GENICAM_NAMESPACE::GenericException::m_Description
private

Error description.

Definition at line 106 of file GCException.h.

GENICAM_NAMESPACE::gcstring GENICAM_NAMESPACE::GenericException::m_EntryPoint
private

Node and method where the call stack entered the node map (may be empty)

Definition at line 111 of file GCException.h.

GENICAM_NAMESPACE::gcstring GENICAM_NAMESPACE::GenericException::m_ErrorNodeName
private

Node where the error occurred (may be empty)

Definition at line 114 of file GCException.h.

GENICAM_NAMESPACE::gcstring GENICAM_NAMESPACE::GenericException::m_ExceptionType
private

The full error message.

Definition at line 97 of file GCException.h.

GENICAM_NAMESPACE::gcstring GENICAM_NAMESPACE::GenericException::m_SourceFileName
private

Filename in which the error occurred.

Definition at line 103 of file GCException.h.

unsigned int GENICAM_NAMESPACE::GenericException::m_SourceLine
private

Line number at which the error occurred.

Definition at line 100 of file GCException.h.

GENICAM_NAMESPACE::gcstring GENICAM_NAMESPACE::GenericException::m_What
private

The full error message.

Definition at line 94 of file GCException.h.


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


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Thu Jun 6 2019 19:10:56