Autodesk Vault ProfessionalVault API

IExceptionParserProvider Interface

Autodesk.DataManagement.Client.FrameworkAutodesk.DataManagement.Client.Framework.Interfaces

Provides details about a specific type of Exception object.

Syntax

public interface IExceptionParserProvider 
Public Interface IExceptionParserProvider 

Properties

NameDescription
ExceptionTypeGets the type of exception that is managed by this provider

Methods

NameDescription
GetErrorCodeReturns an error code that identifies the error. Not all exception types support this but it can be of use for certain types if the app wants to have special business logic to handle an error
GetMessageRetrieves a textual description of the exception
GetRestrictionsReturns a list of restrictions that may be embedded in an exception object.
GetTitleRetrieves a caption to display in a dialog box for an exception. This can return a generic message like "Error", but it can also return a more detailed message like "File Access Error" where the GetMessage() would return more specific details on the error
IsExpectedReturns 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

Returned By

Where you get a IExceptionParserProvider — members that return one.

See Also