Table of Contents

Class FileFormatException

Namespace
FileFormat.Slides.Common
Assembly
FileFormat.Slides.Common.dll

Custom exception class for file format-related exceptions.

public class FileFormatException : Exception, ISerializable
Inheritance
FileFormatException
Implements
Inherited Members

Constructors

FileFormatException(string, Exception)

Initializes a new instance of the FileFormatException class with a specified error message and a reference to the inner exception.

public FileFormatException(string message, Exception innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.

Methods

ConstructMessage(Exception, string)

public static string ConstructMessage(Exception Ex, string Operation)

Parameters

Ex Exception
Operation string

Returns

string