jax-ws-api icon indicating copy to clipboard operation
jax-ws-api copied to clipboard

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

Open Tomas-Kraus opened this issue 2 years ago • 0 comments

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

Tomas-Kraus avatar Jun 02 '22 16:06 Tomas-Kraus