Class InvalidMessageException
Thrown when an invalid message detected. For example, sequence is to low or senderCompId is differ than expected.
Inheritance
System.Object
System.Exception
System.SystemException
System.ArgumentException
InvalidMessageException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.ArgumentException.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.ArgumentException.ParamName
System.Exception.GetBaseException()
System.Exception.GetType()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FixAntenna.Fix.Message
Assembly: FixAntenna.Message.dll
Syntax
public class InvalidMessageException : ArgumentException, ISerializable
Constructors
InvalidMessageException(FixMessage)
Declaration
public InvalidMessageException(FixMessage invalidMessage)
Parameters
Type | Name | Description |
---|---|---|
FixMessage | invalidMessage |
InvalidMessageException(FixMessage, String)
Declaration
public InvalidMessageException(FixMessage invalidMessage, string cause)
Parameters
Type | Name | Description |
---|---|---|
FixMessage | invalidMessage | |
System.String | cause |
InvalidMessageException(FixMessage, String, Boolean)
Declaration
public InvalidMessageException(FixMessage invalidMessage, string cause, bool critical)
Parameters
Type | Name | Description |
---|---|---|
FixMessage | invalidMessage | |
System.String | cause | |
System.Boolean | critical |
Properties
Message
Declaration
public override string Message { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
System.ArgumentException.Message
Methods
GetInvalidMessage()
Declaration
public virtual FixMessage GetInvalidMessage()
Returns
Type | Description |
---|---|
FixMessage |
IsCritical()
Declaration
public virtual bool IsCritical()
Returns
Type | Description |
---|---|
System.Boolean |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Exception.ToString()
Implements
System.Runtime.Serialization.ISerializable