CapeObjectBasethrowException Method

Throws and exceptiona and exposes the exception object.

Definition

Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
public void throwException(
	Exception exception
)

Parameters

exception  Exception
 

Remarks

This method allows the derived class to conform to the CAPE-OPEN error handling standards and still use .Net exception handling. In order to use this class, create an exception object that derives from ECapeUser. Use the exception object as the argument to this function. As a result, the information in the expcetion will be exposed using the CAPE-OPEN exception handing and will be thrown to .Net clients.

See Also