Class XBeeException
Generic XBee 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 the XBee device occurs.
Inheritance
Implements
Inherited Members
Namespace: XBeeLibrary.Core.Exceptions
Assembly: XBeeLibrary.Core.dll
Syntax
public class XBeeException : Exception, ISerializable
Constructors
XBeeException()
Initializes a new instance of the XBeeException class.
Declaration
public XBeeException()
XBeeException(Exception)
Initializes a new instance of the XBeeException class with the exception that is the cause of this exception.
Declaration
public XBeeException(Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |
XBeeException(String)
Initializes a new instance of the XBeeException class with a specified error message.
Declaration
public XBeeException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | ThThe error message that explains the reason for this exception. |
XBeeException(String, Exception)
Initializes a new instance of the XBeeException class with a specified error message and the exception that is the cause of this exception.
Declaration
public XBeeException(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. |