---
title: "UnexpectedException Class"
canonical: https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_UnexpectedException.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# UnexpectedException Class
 
The exception which is thrown when Graphics Mill for .NET has encountered an unexpected problem (mostly caused by some internal bug).
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
<SerializableAttribute> _
Public Class UnexpectedException _Inherits Exception
```
 
```csharp
[SerializableAttribute]
public class UnexpectedException : Exception
```
 
## Remarks
 If you get this exception, it is likely you have discovered some Graphics Mill for .NET bug. In this case it would be greatly appreciated if you create [support case](http://www.graphicsmill.com/account/cases/add). Please provide as much details as possible (code snippet which causes a problem, loaded image, system details, etc).
 
## Inheritance Hierarchy
  
- [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
    - [System.Exception](http://msdn2.microsoft.com/en-us/c18k6c59)
        - [System.ApplicationException](http://msdn2.microsoft.com/en-us/ww58ded5)
            - [Aurigma.GraphicsMill.Exception](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Exception.htm.md)
                - Aurigma.GraphicsMill.UnexpectedException
   
## See Also

### Reference

- [UnexpectedException Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_UnexpectedException.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
