---
title: "ObjectNotOpenedException Constructor (String)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_ObjectNotOpenedException_ctor_1_362212bd.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/)

# ObjectNotOpenedException Constructor (String)
 
Initializes a new instance of the [ObjectNotOpenedException](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_ObjectNotOpenedException.htm.md) class with a specified error message.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub New ( _name As String _
)
```
 
```csharp
public ObjectNotOpenedException(string name
)
```
 
### Parameters
 
 - name
     - Type: [System.String](http://msdn2.microsoft.com/en-us/s1wwdcbf)
The error message that explains the reason for the exception.
   
## See Also

### Reference

- [ObjectNotOpenedException Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_ObjectNotOpenedException.htm.md)
- [ObjectNotOpenedException Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_ObjectNotOpenedException_ctor.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
