Mini application server API for C++.

 Overview   Project   Class   Tree   Deprecated   Index 
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

base
Class CzzLogException

CzzException
   |
   +--CzzLogException

   in zz_log_exception.h
Direct Known Subclasses:
CzzDbException, CzzSockException

class CzzLogException
extends CzzException

Exception that logs the error

Author:
Toni Thomsson, toni@tonjac.org

Field Summary
protected CzzLog m_Log
          Logger
   
Fields inherited from class CzzException
m_ErrorHistory, m_OccuranceTime, m_CallId, m_Reason, m_FileName, m_LineNumber, m_Code
 
Constructor Summary
CzzLogException( int lineNumber, CzzString fileName, int code, CzzString reason )
          Create an exception
virtual ~CzzLogException()
          
 
Method Summary
 virtual void LogErr( const int row, const char* file )
          Logs the message.
   
Methods inherited from class CzzException
GetOccuranceTime, GetErrorHistory, GetReason, GetCallId, GetFileName, GetLineNumber, GetCode, StoreInHistory
 

Field Detail

m_Log

protected CzzLog m_Log;
Logger


Constructor Detail

CzzLogException

public CzzLogException( int lineNumber, CzzString fileName, int code, CzzString reason );
Create an exception
Parameters:
lineNumber - Line number in sourcecode file, use __LINE__
fileName - Sourcecode file, use __FILE__
code - Error code
reason - Error text

~CzzLogException

public virtual ~CzzLogException();


Method Detail

LogErr

public virtual void LogErr( const int row, const char* file );
Logs the message. No need to call this directly its called by the constructor.
Parameters:
row - Rownumber
file - File

 Overview   Project   Class   Tree   Deprecated   Index 
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD