[QFJ-49] sample method not defined: OrderCancelRequest.get(ClearingAccount) Created: 12/Aug/06 Updated: 22/Aug/06 Resolved: 17/Aug/06 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Default |
Reporter: | Markus Khouri | Assignee: | Steve Bate |
Resolution: | Not a bug | Votes: | 0 |
Labels: | None |
Description |
The example code on page http://www.quickfixj.org/quickfixj/usermanual/usage/receiving_messages.html in the section "Most Type Safe... DO THIS!" does not compile; the error message is The method get(OrigClOrdID) in the type OrderCancelRequest is not applicable for the arguments (ClearingAccount) This is noted in the sample code, i.e. "// compile time error!! field not defined for OrderCancelRequest", but there is no JIRA ticket on it. |
Comments |
Comment by Steve Bate [ 17/Aug/06 ] |
This example is intended to have a compile time error because of the missing function. The point of the example is to show that incorrect code will be detected at compiled time and is therefore safer than the alternative methods that may only result in runtime errors. |