Salesforce

DNExceptionOccurred (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

DNExceptionOccurred (Magic xpa 3.x)

Informs you that an error occurred during the last .NET operation.

Syntax:

DNExceptionOccurred()

Parameters:

None

Returns:

True or False. It returns True only if the last .NET usage threw an exception.

Note:

Once an exception is raised, the DNExceptionOccurred() function will return True until the DNException() function is evaluated.

In a Block While operation, you might think to use the expression: NOT(DNExceptionOccured()). However, this is problematic, because it will only return False if the last .NET operation caused an error. If an earlier operation causes an error, it could cause an infinite loop.

Platform specific:

This function is not supported for mobile devices.

See also:

DNException

.NET Exceptions

How Do I Handle .NET Exceptions?

Dot Net Tutorial sample project

Reference
Attachment 
Attachment