---
title: "DuplicateFamilyStyleException Class"
canonical: https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_DuplicateFamilyStyleException.htm
product: "Graphics Mill"
---

# DuplicateFamilyStyleException Class
 
Represents the error that occurs when adding a font would make a (family, style) pair resolve to more than one postscript name, and [FamilyStyleCollisionPolicy](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Drawing_CustomFontRegistry_FamilyStyleCollisionPolicy.htm.md) is [Throw](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_FamilyStyleCollisionPolicy.htm.md).
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public class DuplicateFamilyStyleException : FontException
```
 
## Remarks
  
[Merge(FontRegistry)](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Drawing_CustomFontRegistry_Merge_1_1d836bf2.htm.md) validates and reports every conflict in the batch at once, via [Conflicts](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_DuplicateFamilyStyleException_Conflicts.htm.md), instead of failing on the first one.
 
## Inheritance Hierarchy
  
- System.Object
    - System.Exception
        - [Aurigma.GraphicsMill.GMException](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_GMException.htm.md)
            - [Aurigma.GraphicsMill.FontException](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_FontException.htm.md)
                - Aurigma.GraphicsMill.DuplicateFamilyStyleException
 
## 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

- [DuplicateFamilyStyleException Members](https://www.graphicsmill.com/docs/gm/AllMembers_T_Aurigma_GraphicsMill_DuplicateFamilyStyleException.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
