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.
Implements
Inherited Members
Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
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()
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.
FileNotSupportedException(SerializationInfo, StreamingContext)
For serialization
Declaration
protected FileNotSupportedException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |
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.
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 |
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.
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 |
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.
Properties
FilePath
Full path to the file that is not supported
Declaration
public string FilePath { get; set; }
Property Value
Type | Description |
---|---|
String |
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.
Methods
Equals(Object)
Also compares the file path.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Boolean |
Overrides
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.
GetHashCode()
Returns a hash code that includes the file path.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
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.