---
title: "MediaProviderException Class"
canonical: https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_MediaProviderException.htm
archived: false
applies_to:
  - product: "Graphics Mill"
    versions: ["12.1", "6.x-12.x (may differ)"]
    entity_id: "https://www.graphicsmill.com/#software-application"
---

# MediaProviderException Class

**Applies to:** Graphics Mill 12.1, 6.x-12.x (may differ)
 
Represents the error that occurs when you are working with image readers or writers.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public class MediaProviderException : GMException
```
 
## Inheritance Hierarchy
  
- System.Object
    - System.Exception
        - [Aurigma.GraphicsMill.GMException](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_GMException.htm.md)
            - Aurigma.GraphicsMill.Codecs.MediaProviderException
                - [Aurigma.GraphicsMill.Codecs.MediaUnsupportedException](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_MediaUnsupportedException.htm.md)
                - [Aurigma.GraphicsMill.Codecs.MediaCorruptedException](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_MediaCorruptedException.htm.md)
                - [Aurigma.GraphicsMill.Codecs.MultiFrameException](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_MultiFrameException.htm.md)
                - [Aurigma.GraphicsMill.Codecs.JpegMarkerException](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_JpegMarkerException.htm.md)
 
## Thread Safety
 Static members of this type are not safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.
   
## See Also

### Reference

- [MediaProviderException Members](https://www.graphicsmill.com/docs/gm/AllMembers_T_Aurigma_GraphicsMill_Codecs_MediaProviderException.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
