ODF .NET Class Library
Show/Hide TOC

# FileFormatException Class

The exception that is thrown when an input file or a data stream that is supposed to conform to a certain file format specification is malformed.

## Definition

Namespace: Independentsoft.Office
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public class FileFormatException : Exception

VB

    Public Class FileFormatException
    	Inherits Exception

Inheritance
  Object Exception FileFormatException

## Constructors

FileFormatException | Creates a new instance of the FileFormatException class.
FileFormatException(String) | Creates a new instance of the FileFormatException class with a specified error message.
FileFormatException(String, Exception) | Creates a new instance of the FileFormatException class with the specified error message and inner exception.

## Properties

Data | (Inherited from Exception)
HelpLink | (Inherited from Exception)
HResult | (Inherited from Exception)
InnerException | (Inherited from Exception)
Message | (Inherited from Exception)
Source | (Inherited from Exception)
StackTrace | (Inherited from Exception)
TargetSite | (Inherited from Exception)

## Methods

Equals | (Inherited from Object)
Finalize | (Inherited from Object)
GetBaseException | (Inherited from Exception)
GetHashCode | (Inherited from Object)
GetObjectData | (Inherited from Exception)
GetType | (Inherited from Exception)
MemberwiseClone | (Inherited from Object)
ToString | (Inherited from Exception)

## Events

SerializeObjectState | (Inherited from Exception)

## See Also

#### Reference

Independentsoft.Office Namespace