Public Member Functions | Private Member Functions | Private Attributes
GENICAM_NAMESPACE::GenericException Class Reference

GenICam's exception class. More...

#include <GCException.h>

List of all members.

Public Member Functions

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

Private Member Functions

void AssembleMessage ()
 Assembles the error message.

Private Attributes

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

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)


Member Function Documentation

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

Error description.

Definition at line 106 of file GCException.h.

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

Definition at line 111 of file GCException.h.

Node where the error occurred (may be empty)

Definition at line 114 of file GCException.h.

The full error message.

Definition at line 97 of file GCException.h.

Filename in which the error occurred.

Definition at line 103 of file GCException.h.

Line number at which the error occurred.

Definition at line 100 of file GCException.h.

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 18:42:49