Skip to content

Pylon::LogicalErrorException#

Exception thrown to indicate logical errors in program flow.

#include <pylon/TypeMappings.h>

Inherits from Pylon::GenericException

Public Functions#

Name
LogicalErrorException(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 LogicalErrorException#

LogicalErrorException(
    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.