|
||||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Base exception
| Field Summary | |
protected CzzString |
m_CallId
Id |
protected int |
m_Code
Error code |
protected static CzzErrorHistory* |
m_ErrorHistory
Error stack |
protected CzzString |
m_FileName
Filename |
protected int |
m_LineNumber
Row number |
protected const time_t |
m_OccuranceTime
Time of occurance |
protected CzzString |
m_Reason
Error text |
| Constructor Summary | |
CzzException( int lineNumber, CzzString fileName, CzzString callId, int code, CzzString reason )
Create an exception |
|
CzzException( int lineNumber, CzzString fileName, int code, CzzString reason )
Create an exception |
|
CzzException( const CzzException& exceptionSrc )
Copy constructor |
|
virtual ~CzzException()
|
|
| Method Summary | |
CzzString |
GetCallId( void ) const
Id |
int |
GetCode( void ) const
Error code |
static CzzErrorHistory* |
GetErrorHistory( void )
Error stack |
CzzString |
GetFileName( void ) const
File name |
int |
GetLineNumber( void ) const
Row number |
time_t |
GetOccuranceTime( void ) const
Time of occurance |
CzzString |
GetReason( void ) const
Error text |
protected void |
StoreInHistory( void )
Store error on error stack |
| Field Detail |
protected CzzString m_CallId;
protected int m_Code;
protected static CzzErrorHistory* m_ErrorHistory;
protected CzzString m_FileName;
protected int m_LineNumber;
protected const time_t m_OccuranceTime;
protected CzzString m_Reason;
| Constructor Detail |
public CzzException( int lineNumber, CzzString fileName, CzzString callId, int code, CzzString reason );
lineNumber - Line number in sourcecode file, use __LINE__
fileName - Sourcecode file, use __FILE__
callId - Id, can be empty
code - Error code
reason - Error textpublic CzzException( int lineNumber, CzzString fileName, int code, CzzString reason );
lineNumber - Line number in sourcecode file, use __LINE__
fileName - Sourcecode file, use __FILE__
code - Error code
reason - Error textpublic CzzException( const CzzException& exceptionSrc );
public virtual ~CzzException();
| Method Detail |
public CzzString GetCallId( void ) const;
public int GetCode( void ) const;
public static CzzErrorHistory* GetErrorHistory( void );
public CzzString GetFileName( void ) const;
public int GetLineNumber( void ) const;
public time_t GetOccuranceTime( void ) const;
public CzzString GetReason( void ) const;
protected void StoreInHistory( void );
|
||||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||