---
title: "exceptions"
canonical_url: "https://www.nutrient.io/api/python/exceptions/"
md_url: "https://www.nutrient.io/api/python/exceptions.md"
last_updated: "2026-07-17T07:40:25.122Z"
description: "API reference for the exceptions module"
---

API reference for the `exceptions` module.

```python

# All public classes import directly from the top-level package:

from nutrient_sdk import UnsupportedConversion

```

## Classes

| Class                                                | Description |
| ---------------------------------------------------- | ----------- |
| [`UnsupportedConversion`](./unsupported-conversion/) |             |

## Exceptions

| Exception                                                                                | Description                                                                                                                                                                                                                                           |
| ---------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [`AlreadyOpenForEditionException`](./already-open-for-edition-exception/)                | Represents an exception thrown when a document is already open for editing.                                                                                                                                                                           |
| [`BarcodeException`](./barcode-exception/)                                               | Represents an exception that is thrown when an error occurs during barcode processing.                                                                                                                                                                |
| [`BarcodeInvalidDataException`](./barcode-invalid-data-exception/)                       | Represents an exception that is thrown when the specified data for a barcode is invalid. It is trown when trying to write a barcode in an image and the data could not be encoded in the requested type.                                              |
| [`BarcodeInvalidLengthException`](./barcode-invalid-length-exception/)                   | Represents an exception that is thrown when the data length for a barcode is invalid.                                                                                                                                                                 |
| [`BarcodeInvalidNotNumericDataException`](./barcode-invalid-not-numeric-data-exception/) | Represents an exception that is thrown when the specified data for a barcode is invalid. It is trown when trying to write a barcode in an image and the data could not be encoded in the requested type.                                              |
| [`BarcodeInvalidStartException`](./barcode-invalid-start-exception/)                     | Represents an exception that is thrown when the start of the data for barcode is invalid. It is trown when trying to write a barcode in an image and the data could not be encoded in the requested type.                                             |
| [`BarcodeInvalidStopException`](./barcode-invalid-stop-exception/)                       | Represents an exception that is thrown when the end of the data for barcode is invalid. It is trown when trying to write a barcode in an image and the data could not be encoded in the requested type.                                               |
| [`BarcodeInvalidTypeException`](./barcode-invalid-type-exception/)                       | Represents an exception that is thrown when the specified barcode type is not supported.                                                                                                                                                              |
| [`BarcodeInvalidWidthException`](./barcode-invalid-width-exception/)                     | Represents an exception that is thrown when a barcode cannot be written due to an invalid provided width.                                                                                                                                             |
| [`ExportException`](./export-exception/)                                                 | Represents an exception thrown when an export operation cannot be completed.                                                                                                                                                                          |
| [`FeatureUnLicensedException`](./feature-un-licensed-exception/)                         | Represents an exception thrown when an operation requires a feature that is not licensed.                                                                                                                                                             |
| [`FileNotFoundException`](./file-not-found-exception/)                                   | Represents an exception thrown when a requested file cannot be found.                                                                                                                                                                                 |
| [`ImplicitConversionException`](./implicit-conversion-exception/)                        | Represents an exception thrown when an implicit conversion to an intermediate format fails.                                                                                                                                                           |
| [`IncompatibleTypeException`](./incompatible-type-exception/)                            | Represents an exception thrown when a value has a type that is incompatible with an operation.                                                                                                                                                        |
| [`IndexOutOfBoundsException`](./index-out-of-bounds-exception/)                          | Represents an exception that is thrown when an index is out of the valid range.                                                                                                                                                                       |
| [`InvalidArgumentException`](./invalid-argument-exception/)                              | Represents an exception that is thrown when an argument provided to a method is not valid.                                                                                                                                                            |
| [`InvalidLicenseException`](./invalid-license-exception/)                                | Represents an exception that occurs when an invalid license is detected within the Nutrient SDK. Provides details on the reason for the invalid license to facilitate troubleshooting.                                                                |
| [`InvalidSettingsException`](./invalid-settings-exception/)                              | Represents an exception thrown when settings use an invalid format.                                                                                                                                                                                   |
| [`InvalidStateException`](./invalid-state-exception/)                                    | Represents an exception that is thrown when an operation is performed on an object in an invalid state.                                                                                                                                               |
| [`InvalidTemplateException`](./invalid-template-exception/)                              | Represents an exception thrown when an invalid template model is applied to a template.                                                                                                                                                               |
| [`NullOrEmptyParameterException`](./null-or-empty-parameter-exception/)                  | Represents an exception thrown when a method parameter is null or an empty string.                                                                                                                                                                    |
| [`NutrientArgumentNullException`](./nutrient-argument-null-exception/)                   | Represents an exception thrown when a required argument is null.                                                                                                                                                                                      |
| [`SdkException`](./sdk-exception/)                                                       | Represents an exception thrown when an SDK operation fails.                                                                                                                                                                                           |
| [`UnsupportedFormatException`](./unsupported-format-exception/)                          | Represents an exception thrown when a document format is not recognized or not supported by the SDK (e.g., attempting to open a file whose content cannot be identified as any supported document format, or whose format has no registered handler). |
| [`VisionException`](./vision-exception/)                                                 | Represents an exception that occurs during Vision API operations.                                                                                                                                                                                     |

---

## Related pages

- [Already Open For Edition Exception](/api/python/exceptions/already-open-for-edition-exception.md)
- [Barcode Exception](/api/python/exceptions/barcode-exception.md)
- [Barcode Invalid Data Exception](/api/python/exceptions/barcode-invalid-data-exception.md)
- [Barcode Invalid Length Exception](/api/python/exceptions/barcode-invalid-length-exception.md)
- [Barcode Invalid Not Numeric Data Exception](/api/python/exceptions/barcode-invalid-not-numeric-data-exception.md)
- [Barcode Invalid Start Exception](/api/python/exceptions/barcode-invalid-start-exception.md)
- [Barcode Invalid Stop Exception](/api/python/exceptions/barcode-invalid-stop-exception.md)
- [Barcode Invalid Type Exception](/api/python/exceptions/barcode-invalid-type-exception.md)
- [Barcode Invalid Width Exception](/api/python/exceptions/barcode-invalid-width-exception.md)
- [Export Exception](/api/python/exceptions/export-exception.md)
- [Feature Un Licensed Exception](/api/python/exceptions/feature-un-licensed-exception.md)
- [File Not Found Exception](/api/python/exceptions/file-not-found-exception.md)
- [Implicit Conversion Exception](/api/python/exceptions/implicit-conversion-exception.md)
- [Incompatible Type Exception](/api/python/exceptions/incompatible-type-exception.md)
- [Index Out Of Bounds Exception](/api/python/exceptions/index-out-of-bounds-exception.md)
- [Invalid Argument Exception](/api/python/exceptions/invalid-argument-exception.md)
- [Invalid License Exception](/api/python/exceptions/invalid-license-exception.md)
- [Invalid Settings Exception](/api/python/exceptions/invalid-settings-exception.md)
- [Invalid State Exception](/api/python/exceptions/invalid-state-exception.md)
- [Invalid Template Exception](/api/python/exceptions/invalid-template-exception.md)
- [Null Or Empty Parameter Exception](/api/python/exceptions/null-or-empty-parameter-exception.md)
- [Nutrient Argument Null Exception](/api/python/exceptions/nutrient-argument-null-exception.md)
- [Sdk Exception](/api/python/exceptions/sdk-exception.md)
- [Unsupported Conversion](/api/python/exceptions/unsupported-conversion.md)
- [Unsupported Format Exception](/api/python/exceptions/unsupported-format-exception.md)
- [Vision Exception](/api/python/exceptions/vision-exception.md)

