Uploaded image for project: 'Errai'
  1. Errai
  2. ERRAI-691

Add client-side exception mappers for jax-rs

    XMLWordPrintable

Details

    • Feature Request
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 3.0.0.M4
    • ErraiJAXRS
    • None

    Description

      Currently the happy response from a REST (jax-rs) call is properly de-marshaled into an entity and passed to the client side response handler. However, if an application defined exception is thrown by the service, it is not properly de-marshaled into an exception object. Instead, a generic "Server Error" type exception is passed to the error handler (if one exists).

      We need to support some way to de-marshal custom application exceptions into proper entity instances and then pass them to the error handler registered at the time the call as made.

      Attachments

        Issue Links

          Activity

            People

              ewittman@redhat.com Eric Wittmann
              ewittman@redhat.com Eric Wittmann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: