Details
Description
The FieldNotFound exception contains a useful exception description, which can be fetched with e.getMessage():
public FieldNotFound(int field) { super("Field ["+field+"] was not found in message."); this.field = field; }
but other FIX exceptions as IncorrectTagValue or NoTagValue etc. lacks these description text.
This is not consistent with the second constructor using a String description text.
Provide useful description text for IncorrectTagValue, NoTagValue and possibly other FIX exceptions.
Laurent, for the moment I would like to resolve this issue as fixed.
There are a couple of other exception migrated from the C++ JNI API, which need improvements:
I removed two constructors from the NoTagValue exception, but now I am unsure whether this breaks the C++ JNI API compatibility. Please re-add the constructors if you think so.
Please include this in the 1.4.0 release hopefully coming soon.