Share via


ReqDemPlanExceptionHelper::getBasicExceptionMessage Method [AX 2012]

Returns basic exception message from the CLRError exception.

Syntax

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.

Remarks

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

See Also

Reference

ReqDemPlanExceptionHelper Class