Cape Object Basethrow Exception 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)
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public void throwException(
Exception exception
)VB
Public Sub throwException (
exception As 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.