PST SDK  5.0.1.0-acae3ae
PSTech::TrackerException Class Reference

Generic tracker exception. More...

#include <TrackerExceptions.h>

+ Inheritance diagram for PSTech::TrackerException:
+ Collaboration diagram for PSTech::TrackerException:

Public Member Functions

 TrackerException (const std::string &what)
 
 TrackerException (const std::string &function, int line, const std::string &what)
 
virtual const char * where () const
 
virtual std::string full_description () const
 

Private Attributes

std::string m_what
 
std::string m_where
 

Detailed Description

Base class for all PSTech::TrackerExceoptions, deriving from std::runtime_error.

Examples:
exposure.cpp, images.cpp, listener.cpp, minimal.cpp, reference.cpp, restserver.cpp, sharedmemory.cpp, and trackingtarget.cpp.

Constructor & Destructor Documentation

◆ TrackerException() [1/2]

PSTech::TrackerException::TrackerException ( const std::string &  what)

◆ TrackerException() [2/2]

PSTech::TrackerException::TrackerException ( const std::string &  function,
int  line,
const std::string &  what 
)

Member Function Documentation

◆ full_description()

virtual std::string PSTech::TrackerException::full_description ( ) const
virtual

Returns a string containing the location and message of the error.

Examples:
exposure.cpp, images.cpp, listener.cpp, reference.cpp, restserver.cpp, sharedmemory.cpp, and trackingtarget.cpp.

◆ where()

virtual const char* PSTech::TrackerException::where ( ) const
virtual

Location in the code where the exception occured.

Member Data Documentation

◆ m_what

std::string PSTech::TrackerException::m_what
private

◆ m_where

std::string PSTech::TrackerException::m_where
private

The documentation for this class was generated from the following file: