Autodesk Vault ProfessionalVault API

IsExpected Method

Autodesk.DataManagement.Client.Framework.InterfacesIExceptionParserProvider

Returns true if the exception is one that could happen naturally and should be handled gracefully...not as a fatal error. For example "File checked out to another user" is an expected exception. "Object reference not found" or "Index out of range" is not

Syntax

System.bool IsExpected(
   System.Exception ex
)
Function IsExpected( _
   ByVal ex As System.Exception _
) As System.Boolean

Parameters

NameDescription
exThe exception object to be parsed.

See Also