---
Product: Aspose.Note
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/note/python/unsupportedfileformatexception
---

# UnsupportedFileFormatException

## Overview

`UnsupportedFileFormatException` is a class in Aspose.Note FOSS for Python.
Inherits from: `AsposeNoteError`.

UnsupportedFileFormatException.FileFormat represents the file format that triggered the exception.

This class declares 1 method for UnsupportedFileFormatException objects in Python programs.
Available methods include: `__init__`.
Public members are accessible to any Python application after installing the Aspose.Note FOSS for Python package.
Properties: `FileFormat`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `FileFormat` | `FileFormat` | Read | Gets the file format. |

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__(message: str, file_format: FileFormat \| str \| None)` | Calls __init__(message, file_format) on this UnsupportedFileFormatException instance. |

## See Also

- [Aspose.Note — Enterprise API Reference](https://reference.aspose.com/note/)