ReqDemPlanExceptionHelper::getBasicExceptionMessage Method [AX 2012]

Returns basic exception message from the CLRError exception.

client server public static str getBasicExceptionMessage(CLRObject _ex)

Run On

Called

Parameters

_ex
Type: CLRObject Class
A System.Exception object, which can contain InnerException messages.

Return Value

Type: str
The basic exception message.

This method drills down through the TargetInvocationExceptions class and returns the first message in the hierarchy that is not a TargetInvocationException message.

Show: