DumontEXE 0.0.1
Public Slots | Public Member Functions
cmcError Class Reference

Cmc Error Object. More...

#include <cmcError.h>

List of all members.

Public Slots

void clear ()
 Clear the error message.
QString description ()
 Return the Error Description.
QString message ()
 Formatted Message.
long number ()
 Return the Error Number.

Public Member Functions

 cmcError (const cmcError &copy)
 Copy Constructor.
 cmcError (QObject *parent=NULL)
 General Constructor.
void set (const long number, const QString &description)
 Set an error message.
void set (const char *file, long line, const char *funcInfo, const char *objectName, const long number, const QString &description)
 Set an error message.

Detailed Description

Cmc Error Object.

The error object is a container for dealing with application errors. It is a class that is closely linked to the cmcObject class. Every cmcObject has its own cmcError object, which allows each object to report its own error to its own object.

Definition at line 45 of file cmcError.h.


Constructor & Destructor Documentation

cmcError ( const cmcError copy)

Copy Constructor.

Definition at line 36 of file cmcError.cpp.

cmcError ( QObject *  parent = NULL)

General Constructor.

Definition at line 42 of file cmcError.cpp.


Member Function Documentation

void clear ( void  ) [slot]

Clear the error message.

Definition at line 52 of file cmcError.cpp.

QString description ( ) [slot]

Return the Error Description.

Definition at line 91 of file cmcError.cpp.

QString message ( ) [slot]

Formatted Message.

This returns the error number and error message combined.

Definition at line 96 of file cmcError.cpp.

long number ( ) [slot]

Return the Error Number.

Definition at line 86 of file cmcError.cpp.

void set ( const long  number,
const QString &  description 
)

Set an error message.

This sets the error message for this object.

Definition at line 57 of file cmcError.cpp.

void set ( const char *  file,
long  line,
const char *  funcInfo,
const char *  objectName,
const long  number,
const QString &  description 
)

Set an error message.

Definition at line 64 of file cmcError.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties




~ ~ ~ ~ ~ ~
Source Code without Comments is like a Cranberry Garland
without the berries. Comment your Code!
 
Commence Database User Support Group Forum
http://newsgroup.showoff-db.org/
~ ~ ~ ~ ~ ~
Author: Mark Petryk
Lorimark Solutions, LLC
mark@lorimarksolutions.com