Issue Details (XML | Word | Printable)

Key: JAX_WS-908
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: jitu
Reporter: jitu
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
jax-ws

Getter methods part for service specific exception mapping needs to be rewritten

Created: 23/Nov/10 02:30 PM   Updated: 21/Mar/11 02:38 PM
Component/s: spec
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Tags:
Participants: jitu


 Description  « Hide

In JAX-WS spec 3.7 Service Specific Exception says
"For each getter in the exception and its superclasses, a property of the same
type and name is added
to the bean. The getCause, getLocalizedMessage and getStackTrace getters from
java-
.lang.Throwable and the getClass getter from java.lang.Object are excluded from
the list
of getters to be mapped."

The intent here is to pick up only Throwable#getMessage(). The above needs to rewritten
so that any future changes in Throwable do not affect mapping.



jitu added a comment - 21/Mar/11 02:38 PM

3.7 section, item 3 is rewritten as:

3. For each getter in the exception and its superclasses, a property of the same type and name is added to the bean. All the getter methods except getMessage() from java.lang.Throwable type hierarchy are excluded from the list of getters to be mapped.