• Version 1.15.2
Show / Hide Table of Contents

Class ParserException

Parser exception.

Inheritance
object
Exception
ParserException
EmptyGroupException
IncorrectCheckSumException
IncorrectFieldValueException
InstanceIndexOutOfRangeException
InvalidMsgTypeException
InvalidNumberOfRepeatingGroupInstances
RequiredTagMissingException
TagNotDefinedForThisMessageTypeException
TagNotFoundException
TagSpecifiedOutOfRequiredOrderException
TagSpecifiedWithoutValueException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: OnixS.Fix.Exceptions
Assembly: OnixS.Fix.Engine.dll
Syntax
public class ParserException : Exception, ISerializable

Constructors

ParserException(string, int)

Declaration
public ParserException(string reason, int refTag)
Parameters
Type Name Description
string reason
int refTag

ParserException(string, int, RejectReason)

Declaration
public ParserException(string reason, int refTag, ParserException.RejectReason rejectReason)
Parameters
Type Name Description
string reason
int refTag
ParserException.RejectReason rejectReason

ParserException(string, int, RejectReason, IMessage)

Declaration
public ParserException(string reason, int refTag, ParserException.RejectReason rejectReason, IMessage msg)
Parameters
Type Name Description
string reason
int refTag
ParserException.RejectReason rejectReason
IMessage msg

ParserException(string, int, RejectReason, int, string)

Declaration
public ParserException(string reason, int refTag, ParserException.RejectReason rejectReason, int refSeqNum, string refMsgType)
Parameters
Type Name Description
string reason
int refTag
ParserException.RejectReason rejectReason
int refSeqNum
string refMsgType

ParserException(string, int, RejectReason, ReadOnlySpan<byte>)

Declaration
public ParserException(string reason, int refTag, ParserException.RejectReason rejectReason, ReadOnlySpan<byte> rawMessage)
Parameters
Type Name Description
string reason
int refTag
ParserException.RejectReason rejectReason
ReadOnlySpan<byte> rawMessage

ParserException(string, int, int, int, RejectReason, IMessage)

Declaration
public ParserException(string reason, int nInstancesTag, int instance, int refTag, ParserException.RejectReason rejectReason, IMessage msg)
Parameters
Type Name Description
string reason
int nInstancesTag
int instance
int refTag
ParserException.RejectReason rejectReason
IMessage msg

ParserException(string, int, int, int, IMessage)

Declaration
public ParserException(string reason, int nInstancesTag, int instance, int refTag, IMessage msg)
Parameters
Type Name Description
string reason
int nInstancesTag
int instance
int refTag
IMessage msg

ParserException(string, ReadOnlySpan<byte>, Exception)

Declaration
public ParserException(string reason, ReadOnlySpan<byte> rawMessage, Exception ex)
Parameters
Type Name Description
string reason
ReadOnlySpan<byte> rawMessage
Exception ex

Fields

UndefinedTagId

Declaration
protected const int UndefinedTagId = -1
Field Value
Type Description
int

message

Declaration
protected string message
Field Value
Type Description
string

Properties

Reason

Declaration
public ParserException.RejectReason Reason { get; }
Property Value
Type Description
ParserException.RejectReason

RefMsgType

Declaration
public string RefMsgType { get; }
Property Value
Type Description
string

RefSeqNum

Declaration
public int RefSeqNum { get; set; }
Property Value
Type Description
int

RefTagId

Declaration
public int RefTagId { get; }
Property Value
Type Description
int

Methods

AddSeparatorIfRequired(StringBuilder)

Declaration
protected static void AddSeparatorIfRequired(StringBuilder sb)
Parameters
Type Name Description
StringBuilder sb

FindMsgType(ReadOnlySpan<byte>)

Declaration
public static string FindMsgType(ReadOnlySpan<byte> rawMsg)
Parameters
Type Name Description
ReadOnlySpan<byte> rawMsg
Returns
Type Description
string

FindSeqNum(ReadOnlySpan<byte>)

Declaration
protected virtual void FindSeqNum(ReadOnlySpan<byte> rawMsg)
Parameters
Type Name Description
ReadOnlySpan<byte> rawMsg

FormatMessage()

Declaration
protected virtual void FormatMessage()

GetSeqNumAndMsgType(IMessage, out int, out string)

Declaration
protected static void GetSeqNumAndMsgType(IMessage msg, out int seqNum, out string msgType)
Parameters
Type Name Description
IMessage msg
int seqNum
string msgType

Implements

ISerializable
In this article
Back to top Copyright © Onix Solutions.
Generated by DocFX