Class DigiIoTException
Generic Digi IoT API exception. This class and its subclasses indicate conditions that an application might want to catch. This exception can be thrown when any problem related to a Digi device occurs.
Implements
Inherited Members
Namespace: DigiIoTDigiIoT.MauiExceptions
Assembly: DigiIoT.Maui.dll
Syntax
public class DigiIoTException : XBeeException, ISerializable
Constructors
DigiIoTException()
Initializes a new instance of the DigiIoTException class.
Declaration
public DigiIoTException()
DigiIoTException(Exception)
Initializes a new instance of the DigiIoTException class with the exception that is the cause of this exception.
Declaration
public DigiIoTException(Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |
DigiIoTException(string)
Initializes a new instance of the DigiIoTException class with a specified error message.
Declaration
public DigiIoTException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The error message that explains the reason for this exception. |
DigiIoTException(string, Exception)
Initializes a new instance of the DigiIoTException class with a specified error message and the exception that is the cause of this exception.
Declaration
public DigiIoTException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The error message that explains the reason for this exception. |
| Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |