# MasterObjectException Constructor

## Overloads

| [MasterObjectException(String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.MasterObjectException.-ctor.htm#Qlik_Engine_MasterObjectException__ctor_System_String_) |  | Create an instance of the class [MasterObjectException](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.MasterObjectException.htm). |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.MasterObjectException.-ctor.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.MasterObjectException.-ctor.htm)

## MasterObjectException(String)

Create an instance of the class [MasterObjectException](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.MasterObjectException.htm).

### Declaration

```

          public MasterObjectException(string msg)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | msg | The exception message. |