Table of Contents

Class UnsupportedFileTypeException

Namespace
LMKit.Exceptions
Assembly
LM-Kit.NET.dll

Represents errors that occur when an unsupported file type is encountered.

public sealed class UnsupportedFileTypeException : Exception, ISerializable
Inheritance
UnsupportedFileTypeException
Implements
Inherited Members

Remarks

This exception class provides context for issues related to file type validation, enabling targeted error handling and debugging. It allows passing a message to specify the problem and optionally an inner exception to preserve the original stack trace for deeper analysis.

Constructors

UnsupportedFileTypeException()

Initializes a new instance of the UnsupportedFileTypeException class with a default error message.

UnsupportedFileTypeException(string)

Initializes a new instance of the UnsupportedFileTypeException class with a specified error message.

UnsupportedFileTypeException(string, Exception)

Initializes a new instance of the UnsupportedFileTypeException class with a specified error message and a reference to the inner exception that is the cause of this exception.