|
|
|
|||||
|
Problem with RequestFailedException constructor documentation
In Ice for Java (and maybe other language mappings as well), the RequestFailedException (and subclasses such as ObjectNotExistException) has two constructors: a no-arg constructor, and a constructor that takes an Identity and two Strings.
The manual describes the three arguments (page 1404), but unfortunately the order in which they're listed is different from the constructor's signature. This makes it a bit unclear which String is which. I'm pretty sure it's identity, facet, operation (judging by the the source code in Connections #11), but the manual should be fixed to list them in the proper order. I kinda wonder, though, that since this part of the manual was generated from the slice code, whether the slice2docbook program is simply listing the arguments in alphabetical order. If so, this is definitely a bug. thanks, chris |
|
||||||
|
Actually, I think all we need to do is to list the data members in order, instead of sorting them alphabetically. The order of arguments in constructors can then be derived from the language mapping rules and the Slice reference documentation. I will add this to our TODO list. Thanks for reporting the problem.
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| derived constructor generation bug in slice2cpp | bpolivka | Bug Reports | 3 | 03-02-2006 10:42 AM |
| Identity Constructor | acbell | Comments | 1 | 08-30-2005 02:34 PM |
| Passing parameters to constructor | jacopo | Help Center | 2 | 05-12-2005 01:47 PM |
| Constructor and Default-Parameter | Mr.Freeze | Help Center | 1 | 08-13-2003 08:07 AM |
| New Ice documentation available | michi | Announcements | 0 | 07-10-2003 08:17 AM |