MsgPack.MessageTypeException Class Reference

Represents unpacking error when message type is unknown or unavailable. More...

Inherits Exception.

Inherited by MsgPack.UnassignedMessageTypeException.

Public Member Functions

 MessageTypeException ()
 Initializes a new instance of the MessageTypeException class with the default error message. More...
 
 MessageTypeException (string message)
 Initializes a new instance of the MessageTypeException class with a specified error message. More...
 
 MessageTypeException (string message, Exception inner)
 Initializes a new instance of the MessageTypeException class with a specified error message and a reference to the inner exception that is the cause of this exception. More...
 

Protected Member Functions

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

Detailed Description

Represents unpacking error when message type is unknown or unavailable.

Constructor & Destructor Documentation

◆ MessageTypeException() [1/4]

MsgPack.MessageTypeException.MessageTypeException ( )

Initializes a new instance of the MessageTypeException class with the default error message.

◆ MessageTypeException() [2/4]

MsgPack.MessageTypeException.MessageTypeException ( string  message)

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

Parameters
messageThe message that describes the error.

◆ MessageTypeException() [3/4]

MsgPack.MessageTypeException.MessageTypeException ( string  message,
Exception  inner 
)

Initializes a new instance of the MessageTypeException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Parameters
messageThe error message that explains the reason for the exception.
innerThe exception that is the cause of the current exception, or a null if no inner exception is specified.

◆ MessageTypeException() [4/4]

MsgPack.MessageTypeException.MessageTypeException ( SerializationInfo  info,
StreamingContext  context 
)
protected

Initializes a new instance of the MessageTypeException 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.
Exceptions
ArgumentNullExceptionThe info parameter is null.
SerializationExceptionThe class name is null or P:HResult is zero (0).

The documentation for this class was generated from the following file:
  • MsgPackSources/MessageTypeException.cs