# CommunicationErrorException Class

Namespace: [Qlik.Engine.Communication](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.htm)  
Assembly: Qlik.Engine.dll

Exception thrown when an attempt to open a websocket connection fails.

## Inheritance

* System.Object
  * System.Exception
    * CommunicationErrorException

## Syntax

```
public class CommunicationErrorException : Exception, ISerializable, _Exception
```

## Constructors

| Name | Description |
| --- | --- |
| [CommunicationErrorException()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.CommunicationErrorException.-ctor.htm#Qlik_Engine_Communication_CommunicationErrorException__ctor) | Initializes a new instance of the CommunicationErrorException class. |
| [CommunicationErrorException(String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.CommunicationErrorException.-ctor.htm#Qlik_Engine_Communication_CommunicationErrorException__ctor_System_String_) | Initializes a new instance of the CommunicationErrorException class<br>with a specified error message. |
| [CommunicationErrorException(String, Exception)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.CommunicationErrorException.-ctor.htm#Qlik_Engine_Communication_CommunicationErrorException__ctor_System_String_System_Exception_) | Initializes a new instance of the CommunicationErrorException class<br>with a specified error message and a reference to the inner exception<br>that is the cause of this exception. |