---
title: "JpegMarkerException Class"
canonical: https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_JpegMarkerException.htm
product: "Graphics Mill"
---

# JpegMarkerException Class
 
Represents the error that occurs when the [JpegWriter](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_JpegWriter.htm.md) tries to write an incorrect JPEG metadata.
 
**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 JpegMarkerException : MediaProviderException
```
 
## 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](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_MediaProviderException.htm.md)
                - Aurigma.GraphicsMill.Codecs.JpegMarkerException
 
## 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

- [JpegMarkerException Members](https://www.graphicsmill.com/docs/gm/AllMembers_T_Aurigma_GraphicsMill_Codecs_JpegMarkerException.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
