[QFJ-17] Improve reporting of invalid repeating groups Created: 26/May/06  Updated: 12/Apr/07  Resolved: 26/May/06

Status: Closed
Project: QuickFIX/J
Component/s: None
Affects Version/s: 1.0.0 Final
Fix Version/s: 1.1.0

Type: Improvement Priority: Major
Reporter: Steve Bate Assignee: Steve Bate
Resolution: Fixed Votes: 0
Labels: None

Attachments: Text File rg.patch    

 Description   

Steve,

I ran into a problem with repeating groups that I think this patch would help. A counterparty was sending a message containing a repeating group that was out of order (the first field was actually second) and QF/J threw an NPE in parseGroup() when it tried to add the first field it found to the not-yet-constructed group. This patch changes parseGroup() to throw InvalidMessage when the first field found is out of order, and
fromString() to rethrow that.

John Hensley



 Comments   
Comment by Steve Bate [ 26/May/06 ]

Patch from John.

Comment by Steve Bate [ 26/May/06 ]

Patch applied. Thanks John.

Generated at Wed Nov 27 03:02:49 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.