[Quickfix-developers] Exception of type 'QuickFix.FieldNotFound' was thrown -- How do I get rid of
Brought to you by:
orenmnero
From: azmat <mr...@gm...> - 2008-02-20 00:06:10
|
All- Again many thanks to all of those who have helped me in the past, and I hope these emails help others in using QuickFix. Here is my question for today: I have this line in my onMessage method (for execution reports): if(execrpt.get(new OrigClOrdID()) != null) OR if(execrpt.get(new OrigClOrdID()).ToString() != "") The problem is that when an execution report is returned to me without an OrigClOrID (for instance in response to a non-update message), my application throws an exception. This is the error that it gives me: Exception of type 'QuickFix.FieldNotFound' was thrown. Obviously what I want to do is find out IF the OrigClOrdID field is used at all in the execution report. If so, I'd like to save it (to later be used in one of our internal proprietary systems). How can I do this? merci! azmat -- View this message in context: http://www.nabble.com/Exception-of-type-%27QuickFix.FieldNotFound%27-was-thrown----How-do-I-get-rid-of-it--tp15579387p15579387.html Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |