GenICam's exception class. More...
#include <GCException.h>
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 | |
gcstring | m_Description |
Error description. | |
gcstring | m_EntryPoint |
Node and method where the call stack entered the node map (may be empty) | |
gcstring | m_ErrorNodeName |
Node where the error occurred (may be empty) | |
gcstring | m_ExceptionType |
The full error message. | |
gcstring | m_SourceFileName |
Filename in which the error occurred. | |
unsigned int | m_SourceLine |
Line number at which the error occurred. | |
gcstring | m_What |
The full error message. |
GenICam's exception class.
Definition at line 62 of file GCException.h.
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] |
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)
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.
unsigned int GENICAM_NAMESPACE::GenericException::m_SourceLine [private] |
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.