The class library provides an exception-handling mechanism based on class CException. The application framework uses exceptions in its code; you can also use them in yours. For more information, see the article Exceptions in Visual C++ Programmer's Guide. You can derive your own exception types from CException.
MFC provides an exception class from which you can derive your own exception as well as exception classes for all of the exceptions it supports.
The base class for exceptions.
An archive exception.
An exception resulting from a failure in a DAO database operation.
An exception resulting from a failure in ODBC database processing.
A file-oriented exception.
An out-of-memory exception.
An exception resulting from using an unsupported feature.
An exception resulting from a failure in OLE processing. This class is used by both containers and servers.
An exception resulting from an error during automation. Automation exceptions are thrown by automation servers and caught by automation clients.
An exception resulting from a failure to load a Windows resource.
An exception used to stop a user-initiated operation. Typically the user has been notified of the problem before this exception is thrown.