jax-ws
  1. jax-ws
  2. JAX_WS-908

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

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: spec
    • Labels:
      None

      Description

      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.

        Activity

        Hide
        jitu added a comment -

        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.

        Show
        jitu added a comment - 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.

          People

          • Assignee:
            jitu
            Reporter:
            jitu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: