---
title: "MultiFrameException Class"
canonical: https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_MultiFrameException.htm
product: "Graphics Mill"
---

# MultiFrameException Class
 
Represents the error that occurs when you try to add more frames than current format allows.
 
**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 MultiFrameException : MediaProviderException
```
 
## Remarks
 For example, this exception will be thrown when you try to add two image frames into JPEG.
 
## 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.MultiFrameException
 
## 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

- [MultiFrameException Members](https://www.graphicsmill.com/docs/gm/AllMembers_T_Aurigma_GraphicsMill_Codecs_MultiFrameException.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
