Share

AcDbHostApplicationServices::reportUnhandledArxException

C++

virtual ACDBCORE2D_PORT void reportUnhandledArxException(
    const ACHAR* pExceptionDescription, 
    const ACHAR * pAppName
);

Description

This method is called when an unhandled exception occurs in an ObjectARX-defined command or message. pExcPtrs points to an _EXCEPTION_POINTERS that contains information about the exception. If the exception occurs while a command defined by an ObjectARX application is in progress, then pAppName points to the localized command name. Otherwise, pAppName points to the application's logical application name.

The _EXCEPTION_POINTERS struct pointed to by pExcPtrs is obtained via a call to the Win32 API's GetExceptionInformation() function. See the Microsoft developer documentation for details.

Warning

The string pointed to by pAppName should not be freed by the caller.

Parameters

Parameters Description
pAppName Output command name or ObjectARX/DBX logical application name
pExcPtrs Output pointer to _EXCEPTION_POINTERS struct

Links

AcDbHostApplicationServices

Previous Declaration

virtual ACDB_PORT void reportUnhandledArxException(

const _EXCEPTION_POINTERS * pExcPtrs,

const ACHAR * pAppName

);

Was this information helpful?