[QFJ-402] Provide useful exception description for IncorrectTagValue, NoTagValue and other FIX specific exceptions Created: 10/Feb/09 Updated: 11/Feb/09 Resolved: 10/Feb/09 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 1.3.1, 1.3.2, 1.3.3 |
Fix Version/s: | 1.4.0 |
Type: | Bug | Priority: | Default |
Reporter: | Jörg Thönnes | Assignee: | Laurent Danesi |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
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. Provide useful description text for IncorrectTagValue, NoTagValue and possibly other FIX exceptions. |
Comments |
Comment by Jörg Thönnes [ 10/Feb/09 ] |
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. |