Click or drag to resize

EngineThrowExceptions Property

IT Hit User File System
Indicates if the IEngine implementation must throw exception in case of any errors in the Engine itself or in the user code occures.

Namespace:  ITHit.FileSystem
Assembly:  ITHit.FileSystem (in ITHit.FileSystem.dll) Version: 8.3.27213.0
Syntax
public bool ThrowExceptions { get; set; }

Property Value

Type: Boolean

Implements

IEngineThrowExceptions
Remarks

Typically you do not want your custom file system implementation to crash in case of any errors. This property allows you to keep processing file system requests regardless of any errors happening in your code or errors in the IEngine implementation.

With this property set to false the IEngine implementation will swallow any exceptions rised in both IEngine implementation itself and in user code. The IEngine implementation will rise the Error event and than continue processing file system requests.

With this property set to true the IEngine implementation will rise the Error event and than throw the exception.

See Also