jax-ws-api
jax-ws-api copied to clipboard
Getter methods part for service specific exception mapping needs to be rewritten
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.
Source: https://github.com/javaee/metro-jax-ws/issues/908 Author: glassfishrobot