[Quickfix-users] Message Validation
Brought to you by:
orenmnero
|
From: Anand U. <ud...@av...> - 2005-12-03 00:37:31
|
I just wanted to verify that the following method from the FIX::Message class works the
way I think it does now ...
/**
* Set a message based on a string representation
* This will fill in the fields on the message by parsing out the string
* that is passed in. It will return true on success and false
* on failure.
*/
void setString( const std::string& string,
bool validate = true,
const DataDictionary* pDataDictionary = 0 )
throw( InvalidMessage );
The comments above the method lead me to believe that it used to be of the form:
bool setString( const std::string& string, bool validate = true,
const DataDictionary* pDataDictionary = 0 )
but now I will be expecting that when the string is valid the nothing will happen
otherwise the InvalidMessage Exception with be thrown.
Thank you very much I really appreciate any comments
|