Pylon::GenericException#
#include <pylon/TypeMappings.h>
Inherited by Pylon::AccessException, Pylon::AviWriterFatalException, Pylon::BadAllocException, Pylon::DynamicCastException, Pylon::InvalidArgumentException, Pylon::LogicalErrorException, Pylon::OutOfRangeException, Pylon::PropertyException, Pylon::RuntimeException, Pylon::TimeoutException
Public Functions#
Name | |
---|---|
GenericException(const char * pDescription, const char * pSourceFileName, unsigned int SourceLine) Constructs an exception. | |
virtual const char * | GetDescription() const Returns error description. |
virtual const char * | GetSourceFileName() const Returns the filename of the file where the exception was thrown. |
virtual unsigned int | GetSourceLine() const Returns the line number of the file where the exception was thrown. |
virtual const char * | what() const Returns a descriptive text of the exception. |
Detailed Description#
pylon exception class
This is pylons exception class. It is also used as a base class for all other pylon exceptions. To catch all pylon and genicam exceptions it is sufficient to catch GenericException.
Public Functions Documentation#
function GenericException#
GenericException(
const char * pDescription,
const char * pSourceFileName,
unsigned int SourceLine
)
Constructs an exception.
function GetDescription#
Returns error description.
function GetSourceFileName#
Returns the filename of the file where the exception was thrown.
function GetSourceLine#
Returns the line number of the file where the exception was thrown.
function what#
Returns a descriptive text of the exception.