B2BITS FIX Antenna HFT  1.0.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
Parser::TagOutOfOrderException Class Reference

Contains information about Unexpected Field error. More...

#include <ParserException.h>

+ Inheritance diagram for Parser::TagOutOfOrderException:
+ Collaboration diagram for Parser::TagOutOfOrderException:

Public Member Functions

virtual void rethrow (int refSeqNum, int refTagID, const std::string &refMsgType, std::string const &contextValues) const
 
 TagOutOfOrderException (int expectedTag, int factTag)
 
 TagOutOfOrderException (TagOutOfOrderException const &src, int refSeqNum, int refTagID, const std::string &refMsgType, std::string const &contextValues)
 
- Public Member Functions inherited from Parser::ParserException
RejectReason getRejReason () const
 
std::string const & origMsg () const
 
 ParserException ()
 
 ParserException (const std::string &aMsg)
 
 ParserException (ParserException const &innerException, const std::string &contextValues)
 
 ParserException (RejectReason reason, const std::string &aMsg)
 
 ParserException (const std::string &aMsg, int refSeqNum)
 
 ParserException (int refSeqNum, int refTagID, const std::string &refMsgType)
 
 ParserException (const std::string &aMsg, int refSeqNum, int refTagID, const std::string &refMsgType)
 
 ParserException (RejectReason reason, const std::string &aMsg, int refSeqNum, int refTagID, const std::string &refMsgType)
 
 ParserException (ParserException const &src, int refSeqNum, int refTagID, const std::string &refMsgType, std::string const &contextValues)
 Used to add more information about exception. More...
 
const std::string & refMsgType () const
 
int refSeqNum () const
 
int refTagID () const
 
virtual ~ParserException () throw ()
 
- Public Member Functions inherited from Parser::FixProtocolException
 FixProtocolException ()
 
 FixProtocolException (const std::string &aMsg)
 
- Public Member Functions inherited from Utils::Exception
 Exception ()
 Constructor. More...
 
 Exception (const std::string &aReason)
 Constructor. More...
 
std::string const & reason () const throw ()
 Returns the reason for this exception. More...
 
virtual const char * what () const B2B_OVERRIDE throw ()
 Returns the reason for this exception. More...
 
virtual ~Exception () throw ()
 Destructor. More...
 

Additional Inherited Members

- Public Types inherited from Parser::ParserException
enum  RejectReason {
  UNEXPECTED_TAG_ON_FIXED_POSITION = -3, INVALID_CHECK_SUM = -2, UNKNOWN_ERROR = -1, INVALID_TAG_NUMBER = 0,
  REQUIRED_TAG_MISSING = 1, UNKNOWN_TAG = 2, UNDEFINED_TAG = 3, TAG_WITHOUT_VALUE = 4,
  OUT_OF_RANGE = 5, INCORRECT_DATA_FORMAT = 6, DECRYPTION_PROBLEM = 7, SIGNATURE_PROBLEM = 8,
  COMPID_PROBLEM = 9, SENDINGTIME_PROBLEM = 10, INVALID_MSGTYPE = 11, XML_VALIDATION_ERROR = 12,
  DUPLICATED_TAG = 13, TAG_OUT_OF_ORDER = 14, RG_FIELDS_OUT_OF_ORDER = 15, INCORRECT_NUMINGROUP = 16,
  UNEXPECTED_SOH = 17, OTHER_ERROR = 99
}
 
- Static Public Member Functions inherited from Parser::ParserException
static std::string msgFormatter (const std::string &text, int refSeqNum, int refTagID, const std::string &refMsgType)
 
static std::string msgFormatter (const std::string &text, const Engine::FIXFieldValue &refSeqNum, int refTagID, const std::string &refMsgType)
 
- Protected Attributes inherited from Parser::ParserException
std::string m_origMsg
 
RejectReason m_rejReason
 
- Protected Attributes inherited from Utils::Exception
std::string m_reason
 std::string that describes raised exception More...
 

Detailed Description

Contains information about Unexpected Field error.

Constructor & Destructor Documentation

Parser::TagOutOfOrderException::TagOutOfOrderException ( int  expectedTag,
int  factTag 
)
inline

Referenced by rethrow().

Parser::TagOutOfOrderException::TagOutOfOrderException ( TagOutOfOrderException const &  src,
int  refSeqNum,
int  refTagID,
const std::string &  refMsgType,
std::string const &  contextValues 
)
inline

Member Function Documentation

virtual void Parser::TagOutOfOrderException::rethrow ( int  refSeqNum,
int  refTagID,
const std::string &  refMsgType,
std::string const &  contextValues 
) const
inlinevirtual

Reimplemented from Parser::ParserException.

References TagOutOfOrderException().