Class Spinnaker::Exception¶
ClassList > Spinnaker > Exception
The Exception object represents an error that is returned from the library. Overloaded operators allow comparisons against otherException objects.
#include <Exception.h>
Inherits the following classes: std::exception
Public Functions¶
| Type | Name |
|---|---|
| Exception () |
|
| Exception (int line, const char * fileName, const char * funcName, const char * errMsg, Error err) |
|
| Exception (int line, const char * fileName, const char * funcName, const char * buildDate, const char * buildTime, const char * errMsg, Error err) |
|
| Exception (const Exception & except) |
|
| const char * | GetBuildDate () const |
| const char * | GetBuildTime () const |
| Error | GetError () const |
| const char * | GetErrorMessage () const |
| const char * | GetFileName () const |
| const char * | GetFullErrorMessage () const |
| const char * | GetFunctionName () const |
| int | GetLineNumber () const |
| bool | operator!= (const Error err) const |
| Exception & | operator= (const Exception & except) |
| bool | operator== (const Error err) const |
| virtual const char * | what () const |
| virtual | ~Exception () |
Public Functions Documentation¶
function Exception [1/4]¶
Default constructor.
function Exception [2/4]¶
Spinnaker::Exception::Exception (
int line,
const char * fileName,
const char * funcName,
const char * errMsg,
Error err
)
Message constructor.
Parameters:
lineLine number where the exception is thrownfileNameName of the file calledfuncNameName of the function callederrMsgA pointer to the exception message stringerrError code
function Exception [3/4]¶
Spinnaker::Exception::Exception (
int line,
const char * fileName,
const char * funcName,
const char * buildDate,
const char * buildTime,
const char * errMsg,
Error err
)
Message constructor.
Parameters:
lineLine number where the exception is thrownfileNameName of the file calledfuncNameName of the function calledbuildDateBuild datebuildTimeBuild timeerrMsgA pointer to the exception message stringerrError code
function Exception [4/4]¶
Copy constructor.
function GetBuildDate¶
function GetBuildTime¶
function GetError¶
function GetErrorMessage¶
Accessor Functions.
function GetFileName¶
function GetFullErrorMessage¶
Gets the error code and full error message including the line, file, function, build date, and time.
function GetFunctionName¶
function GetLineNumber¶
function operator!=¶
Inequality operator.
function operator=¶
Assignment operator.
function operator==¶
Equality operator.
function what¶
virtual override for what(). Gets the error code and error message.
function ~Exception¶
Default destructor.
The documentation for this class was generated from the following file C:/workspace/include/Exception.h