-
A base class used for defining exceptions.
[
verification_docs |
Source |
Implementation |
Keywords |
Summary | Ancestors | All Members | Descendants ]
- DESCRIPTION
- AUTHOR
Class Summary
class GenericException
{
public:
- GenericException(const string & name , const string & className , const string & method , const string & text );
- GenericException(const GenericException& e);
- ~GenericException() ;
- GenericException& operator=( const GenericException& e );
- string getErrorData();
protected:
- string _exceptionName;
- string _className;
- string _methodName;
- string _errorText;
private:
}; // GenericException
DESCRIPTION
A base class used for defining exceptions. This should be subclassed,
not used directly.
AUTHOR
Mike Smoot
string _exceptionName;
The exception name.
string _exceptionName;
string _className;
The class name that threw the exception.
string _className;
string _methodName;
The method name that threw the exception.
string _methodName;
string _errorText;
The error text of the exception
string _errorText;
GenericException(const string & name , const string & className , const string & method , const string & text );
Constructor.
GenericException(const string & name = "GenericException",
const string & className = "GenericException",
const string & method = "(constructor)",
const string & text = "generic exception");
GenericException(const GenericException& e);
Copy Constructor.
GenericException(const GenericException& e);
~GenericException() ;
Destructor.
~GenericException() ;
Function is currently defined inline.
GenericException& operator=( const GenericException& e );
Operator =
GenericException& operator=( const GenericException& e );
string getErrorData();
Returns the name and error text.
string getErrorData();
All Members
- public:
- GenericException& operator=( const GenericException& e );
- string getErrorData();
- protected:
- string _exceptionName;
- string _className;
- string _methodName;
- string _errorText;
Ancestors
Class does not inherit from any other class.
Descendants
Generated from source by the Cocoon utilities on Wed Aug 30 12:53:33 2000
.
Report problems to jkotula@stratasys.com