Condividi tramite


COleException Class

Represents an exception condition related to an OLE operation.

class COleException : public CException

Members

Public Methods

Name

Description

COleException::Process

Translates a caught exception into an OLE return code.

Public Data Members

Name

Description

COleException::m_sc

Contains the status code that indicates the reason for the exception.

Remarks

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 Exception Handling (MFC) and Exceptions: OLE Exceptions.

Inheritance Hierarchy

CObject

CException

COleException

Requirements

Header: afxdisp.h

See Also

Reference

CException Class

Hierarchy Chart

Concepts

MFC Sample CALCDRIV