FC++  v0.9.0-9e9b65
FileCatalyst Fast File Transfers - C++ Library
FCException.hpp File Reference
#include "FileCatalyst.hpp"
Include dependency graph for FCException.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  fc::Exception
 fc::Exception objects represent a C++ exception and usually includes stack traces and optional parameters to describe the internal state of FC++ at the time the exception happened. More...
 

Namespaces

 fc
 

Macros

#define FC_EXCEPTION_FILENAME   "fc_exception.log"
 If a file exists with this name, then any FC++ exception created will also be automatically appended to this file for logging or debugging purposes. More...
 
#define FC_WHERE   __FILE__, __LINE__, __FUNCTION__
 Macros used to pass in several required parameters when instantiating a fc::Exception object. More...
 
#define FC_WHERE_DEF   const char * const file, const int line, const char * const func
 Macros used to pass in several required parameters when instantiating a fc::Exception object. More...
 
#define FC_WHERE_PASS   file, line, func
 Macros used to pass in several required parameters when instantiating a fc::Exception object. More...
 
#define FC_WHERE_EMPTY   "", 0, ""
 Macros used to pass in several required parameters when instantiating a fc::Exception object. More...
 

Detailed Description

An object derived from the usual C++ std::exception.

Macro Definition Documentation

◆ FC_EXCEPTION_FILENAME

#define FC_EXCEPTION_FILENAME   "fc_exception.log"

If a file exists with this name, then any FC++ exception created will also be automatically appended to this file for logging or debugging purposes.

See also
fc::Exception::init()
fc::Exception::createLogFile()

◆ FC_WHERE

#define FC_WHERE   __FILE__, __LINE__, __FUNCTION__

Macros used to pass in several required parameters when instantiating a fc::Exception object.

All the constructors need these 3 initial parameters.

◆ FC_WHERE_DEF

#define FC_WHERE_DEF   const char * const file, const int line, const char * const func

Macros used to pass in several required parameters when instantiating a fc::Exception object.

All the constructors need these 3 initial parameters.

◆ FC_WHERE_PASS

#define FC_WHERE_PASS   file, line, func

Macros used to pass in several required parameters when instantiating a fc::Exception object.

All the constructors need these 3 initial parameters.

◆ FC_WHERE_EMPTY

#define FC_WHERE_EMPTY   "", 0, ""

Macros used to pass in several required parameters when instantiating a fc::Exception object.

All the constructors need these 3 initial parameters.