Class InvalidConfigurationException
This exception will be thrown when trying to open an interface with an invalid configuration. Usually happens when the XBee device is communicating through a serial port.
Inheritance
Implements
Inherited Members
Namespace: XBeeLibrary.Core.Exceptions
Assembly: XBeeLibrary.Core.dll
Syntax
public class InvalidConfigurationException : ConnectionException, ISerializable
Constructors
InvalidConfigurationException()
Initializes a new instance of the InvalidConfigurationException class.
Declaration
public InvalidConfigurationException()
InvalidConfigurationException(String)
Initializes a new instance of the InvalidConfigurationException class with a specified error message.
Declaration
public InvalidConfigurationException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | ThThe error message that explains the reason for this exception. |
InvalidConfigurationException(String, Exception)
Initializes a new instance of the InvalidConfigurationException class with a specified error message and the exception that is the cause of this exception.
Declaration
public InvalidConfigurationException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | ThThe 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. |