---
title: "TextException Constructor (String, Exception)"
canonical: https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Drawing_TextException_ctor_2_232e81dd.htm
archived: false
applies_to:
  - product: "Graphics Mill"
    versions: ["12.1", "6.x-12.x (may differ)"]
    entity_id: "https://www.graphicsmill.com/#software-application"
---

# TextException Constructor (String, Exception)

**Applies to:** Graphics Mill 12.1, 6.x-12.x (may differ)
 
Initializes a new instance of the [TextException](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_TextException.htm.md) class with a specified error message and a reference to the inner exception that is the cause of this exception.
 
**Namespace:** [Aurigma.GraphicsMill.Drawing](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Drawing.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public TextException(string message,Exception innerException
)
```
 
### Parameters
 
 - message
     - Type: System.String
The error message that explains the reason for the exception.

 - innerException
     - Type: System.Exception
The exception that is the cause of the current exception, or a null reference if no inner exception is specified.
   
## See Also

### Reference

- [TextException Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_TextException.htm.md)
- [TextException Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Drawing_TextException_ctor.htm.md)
- [Aurigma.GraphicsMill.Drawing Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Drawing.htm.md)
