Class FileNotSupportedException
Used in OneOrMoreFilesNotSupportedException to convey the details of
a single file that was not supported by any installed file type when using one
of the GetConverter...
overloads in IFileTypeManager.
Inherited Members
Namespace: SdlSdl.FileTypeSupportFrameworkIntegrationApi
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public class FileNotSupportedException : FileTypeSupportException, ISerializable, _Exception
Remarks
This exception is thrown and handled in the framework implementation itself, and should therefore not need to be handled explicitly in the application.
Applications that use the IFileTypeManager for file conversion should handle the OneOrMoreFilesNotSupportedException, where the details for each unsupported file can be accessed from the NotSupportedFiles property.
Constructors
FileNotSupportedException()
Default constructor
Declaration
public FileNotSupportedException()
FileNotSupportedException(SerializationInfo, StreamingContext)
For serialization
Declaration
protected FileNotSupportedException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |
FileNotSupportedException(string, string)
Construction from a message
Declaration
public FileNotSupportedException(string message, string filePath)
Parameters
Type | Name | Description |
---|---|---|
string | message | |
string | filePath | Full path to the unsupported file |
FileNotSupportedException(string, string, Exception)
Construction from a message, file path, and an inner exception
Declaration
public FileNotSupportedException(string message, string filePath, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
string | message | |
string | filePath | Full path to the unsupported file |
Exception | inner |
Properties
FilePath
Full path to the file that is not supported
Declaration
public string FilePath { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
Equals(object)
Also compares the file path.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj |
Returns
Type | Description |
---|---|
bool |
Overrides
GetHashCode()
Returns a hash code that includes the file path.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |