Class ATCommandEmptyException
This exception will be thrown when the answer received from an AT command is empty and it shouldn't.
Inheritance
Implements
Inherited Members
Namespace: XBeeLibrary.Core.Exceptions
Assembly: XBeeLibrary.Core.dll
Syntax
public class ATCommandEmptyException : CommunicationException, ISerializable
Constructors
ATCommandEmptyException(String)
Initializes a new instance of the ATCommandEmptyException class.
Declaration
public ATCommandEmptyException(string atCommand)
Parameters
Type | Name | Description |
---|---|---|
System.String | atCommand | The AT command that originated the exception. |
ATCommandEmptyException(String, Exception, String)
Initializes a new instance of the ATCommandEmptyException class with a specified error message and the exception that is the cause of this exception.
Declaration
public ATCommandEmptyException(string message, Exception innerException, string atCommand)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for this exception. |
System.Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |
System.String | atCommand | The AT command that originated the exception. |
ATCommandEmptyException(String, String)
Initializes a new instance of the ATCommandEmptyException class with a specified error message.
Declaration
public ATCommandEmptyException(string message, string atCommand)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for this exception. |
System.String | atCommand | The AT command that originated the exception. |
Properties
ATCommand
The AT command of the exception.
Declaration
public string ATCommand { get; }
Property Value
Type | Description |
---|---|
System.String |