Comments (2)
Are you new to QuickFIX, by any chance? Your question makes me think you don't have working experience with this engine's C++ or Java predecessors.
To test for field presence, FieldMap (base class of Message) has IsSetField(tag) and IsSetField(IField), and generated Message classes have IsSetXXX() fields for field in the message. You should be using these.
What are you thinking you need to try/catch? You should not be catching FieldNotFound exceptions, for the most part. Those are used by the engine; when an OnMessage() callback throws one, the engine catches it and sends a reject to the counterparty. The assumption here is that you required a field, and the counterparty didn't obey your requirement. (If it was an optional field, you should have checked for it first with one of the IsSet fields.)
I'm inclined to close this Issue, unless you have a further case for it. I don't see it as a bug or as a needed feature.
from quickfixn.
As new as it gets ;) THis is quite a lot about .NET standard behavior, though - I can see cases where the exception gets ugly.
Actually ;) I just confirmed - there areIsSetXXX methods. Sorry. Closing.
from quickfixn.
Related Issues (20)
- Correctlly formated message causing internal exception when validating before sending it to our code HOT 1
- Problems with HeartBeat / RawMessage HOT 2
- Nuget for Version 1.11 HOT 1
- HttpServer Issue with SessionID HOT 2
- DataDictionary files are missing from nuget HOT 3
- Unhelpful behaviour for unknown fields HOT 1
- deployment script redesign
- Yes, we know the mailing list is down HOT 1
- Release 1.11.0 announcement
- DDField.cs SEQNUM type is still int after 24x7 ulong implementation HOT 1
- not able to capture the return message after login and seq mismatch HOT 2
- "Acceptor heartbeat set to" log message is wrong
- In Logout session, the field=553(Username) is redundant HOT 2
- Udp protocol support HOT 1
- FIX50 IOIQty does not allow Numeric Quantity HOT 2
- Not send Missing Application messages to the receiving application as response for Resend Request HOT 2
- Unhandled Exception in SocketInitiator.OnStart() can Terminate Process HOT 8
- Enhanced CME Globex Resend Logic HOT 3
- Wrong time format for TimeStampPrecision=NANO HOT 4
- Weekdays setting implementation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quickfixn.