FC++  v0.7.1-1067
FileCatalyst Fast File Transfers - C++ Library
FCException.hpp File Reference

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

#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
 All of the FileCatalyst classes and objects are declared within the fc namespace.
 

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

#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()
#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.

#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.

#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.

#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.