Mini application server API for C++.
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
|
Method Summary |
virtual void |
LogErr( const int row, const char* file )
Logs the message. |
m_Log
protected CzzLog m_Log;
- Logger
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();
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