Skip to content

Pylon::PropertyException#

Exception thrown if a property access fails.

#include <pylon/TypeMappings.h>

Inherits from Pylon::GenericException

Public Functions#

Name
PropertyException(const char * pDescription, const char * pSourceFileName, 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.

Additional inherited members#

Public Functions inherited from Pylon::GenericException

Name
GenericException(const char * pDescription, const char * pSourceFileName, unsigned int SourceLine)
Constructs an exception.

Public Functions Documentation#

function PropertyException#

PropertyException(
    const char * pDescription,
    const char * pSourceFileName,
    int SourceLine
)

Constructs an exception.

function GetDescription#

virtual const char * GetDescription() const

Returns error description.

function GetSourceFileName#

virtual const char * GetSourceFileName() const

Returns the filename of the file where the exception was thrown.

function GetSourceLine#

virtual unsigned int GetSourceLine() const

Returns the line number of the file where the exception was thrown.

function what#

virtual const char * what() const

Returns a descriptive text of the exception.