gatelib  2.1
Public Member Functions | List of all members
g::Exception::Context Class Reference

#include <g_Exception.h>

Public Member Functions

 Context (const char *context_str, const char *file="", int line=-1)
 
const std::string & getMethod () const
 
const std::string & getFile () const
 
int getLine () const
 
std::string getString () const
 
std::wstring getStringW () const
 

Detailed Description

Encapsulates the call context of an exception, programmer shouldn't instanciate directly the constructor to this class, but use macros G_EXC_RAISE,G_EXC_RAISE_MSG for raising an exception


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