Core Serial Library in C#  1.2
Public Member Functions | Protected Member Functions | List of all members
UnexpectedReplyReceivedException Class Reference

Thrown when an axis receives a reply from a device or axis which is not itself, or when the reply is of an unexpected type. More...

Inheritance diagram for UnexpectedReplyReceivedException:

Public Member Functions

 UnexpectedReplyReceivedException ()
 Initializes a new instance of the UnexpectedReplyReceivedException class. More...
 
 UnexpectedReplyReceivedException (string message)
 Initializes a new instance of the UnexpectedReplyReceivedException class with a specified error message. More...
 

Protected Member Functions

 UnexpectedReplyReceivedException (SerializationInfo info, StreamingContext context)
 Initializes a new instance of the UnexpectedReplyReceivedException class with serialized data. More...
 

Detailed Description

Thrown when an axis receives a reply from a device or axis which is not itself, or when the reply is of an unexpected type.

This exception is usually thrown when the input buffer has become shifted or misaligned. Generally this is caused by a Write() not being followed by a Read() somewhere when dealing with a port object directly.

Constructor & Destructor Documentation

Initializes a new instance of the UnexpectedReplyReceivedException class.

UnexpectedReplyReceivedException ( string  message)
inline

Initializes a new instance of the UnexpectedReplyReceivedException class with a specified error message.

Parameters
messageThe message that describes the error.
UnexpectedReplyReceivedException ( SerializationInfo  info,
StreamingContext  context 
)
inlineprotected

Initializes a new instance of the UnexpectedReplyReceivedException class with serialized data.

Parameters
infoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextThe StreamingContext that contains contextual information about the source or destination.

The documentation for this class was generated from the following file: