B2BITS FIX Antenna HFT
1.0.16
|
Appear when something wrong with message format, e.g. More...
#include <ParserException.h>
Public Types | |
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 } |
Public Member Functions | |
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 void | rethrow (int refSeqNum, int refTagID, const std::string &refMsgType, std::string const &contextValues) 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... | |
Static Public Member Functions | |
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 | |
std::string | m_origMsg |
RejectReason | m_rejReason |
Protected Attributes inherited from Utils::Exception | |
std::string | m_reason |
std::string that describes raised exception More... | |
Appear when something wrong with message format, e.g.
message format does not correspond to the protocol defines.
|
inline |
Referenced by rethrow().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Used to add more information about exception.
|
inlinevirtual |
|
inline |
References m_rejReason.
|
static |
|
static |
|
inline |
References m_origMsg.
|
inline |
|
inline |
|
inline |
Referenced by Parser::RepeatingGroupIndexOutOfRangeException::getTag().
|
inlinevirtual |
Reimplemented in Parser::RepeatingGroupIndexOutOfRangeException, Parser::TagOutOfOrderException, Parser::TagParsingException, Parser::FieldLengthExceededException, Parser::IncorrectMessageLengthException, Parser::IncorrectCheckSumException, Parser::IncorrectNumInGroupCountForRepeatingGroupException, Parser::RepeatingGroupFieldsOutOfOrderException, Parser::TagAppearsMoreThanOnceException, Parser::InvalidMsgTypeException, Parser::TagSpecifiedWithoutValueException, Parser::TagNotDefinedForThisMessageTypeException, Parser::RequiredTagMissingException, and Parser::InvalidTagNumberException.
References ParserException().
|
protected |
|
protected |
Referenced by getRejReason().