[Dev-C++] Creating a basic exception class
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Daniel G. <sp...@ho...> - 2002-07-30 07:46:14
|
Hi everyone, I want to create a basic exception class so my constructors can throw objects if they fail. Constructors will be the only things that throw exceptions, but the class will most likely be expanded in the future so other functions can throw. What do I need to include in an exception class? I think an error log text file would be good (I've done them before using ofstream objects) but what data members should the file have? I've not done these before so any suggestions would be great. Daniel _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com |