Share via


COleException

A COleException object represents an exception condition related to an OLE operation. The COleException class includes a public data member that holds the status code indicating the reason for the exception.

In general, you should not create a COleException object directly; instead, you should call AfxThrowOleException.

For more information on exceptions, see the articles and in Visual C++ Programmer’s Guide.

#include <afxole.h>

Class MembersBase ClassHierarchy Chart

Sample