Skip to main content

[jax-rs-spec issues] [JIRA] Work started: (JAX_RS_SPEC-392) Client-side exception handling omitted by the specification

  • From: "Santiago Pericas-Geertsen (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [jax-rs-spec issues] [JIRA] Work started: (JAX_RS_SPEC-392) Client-side exception handling omitted by the specification
  • Date: Tue, 26 Mar 2013 13:26:53 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated


     [ 
http://java.net/jira/browse/JAX_RS_SPEC-392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on JAX_RS_SPEC-392 started by Santiago Pericas-Geertsen.

> Client-side exception handling omitted by the specification
> -----------------------------------------------------------
>
>                 Key: JAX_RS_SPEC-392
>                 URL: http://java.net/jira/browse/JAX_RS_SPEC-392
>             Project: jax-rs-spec
>          Issue Type: Bug
>          Components: spec
>    Affects Versions: 2.0-pfd
>            Reporter: Marek Potociar
>            Assignee: Santiago Pericas-Geertsen
>            Priority: Blocker
>             Fix For: 2.0
>
>
> Specification text that defines provider exception handling (sections 4.5 
> and 6.7) as well as text that defines entity provider processing (sections 
> 4.2.1, 4.2.2) refer to exception handling specified in section 3.3.4, which 
> defines exception handling suitable only for the server side that also 
> talks about exception mappers, special conversion of 
> {{WebApplicationExceptions}} to {{Response}} objects etc. 
> The client side exception handling definition needs to be added:
> - Chapters 4.2.1 and 4.2.2 should be extended to cover differences of 
> client and server side entity provider processing wrt. exception handling 
> (last step in both sections)
> - Chapters 4.5 and 6.7 should be extended with new definitions of provider 
> exception handling on the client side.
> -- {{javax.ws.rs.client.ResponseProcessingException}} should be explicitly 
> covered too (see e.g. 
> {{javax.ws.rs.client.InvocationCallback.failed(Throwable)}} or 
> {{javax.ws.rs.client.Invocation.invoke(...)}} javadoc).
> --- essentially, every {{Throwable}} originating in a provider executed on 
> the client side is wrapped into a {{ProcessingException}} (request 
> processing failures) or {{ResponseProcessingException}} (response 
> processing failures), including any {{WebApplicationException}} instances 
> thrown by the providers. The actual {{WebApplicationException}} instances 
> are only thrown directly by client runtime as a result of a 3xx, 4xx or 5xx 
> response status code that came from the server. {{ProcessingExeption}} is 
> also thrown directly by runtime in case of any unrecoverable failures.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[jax-rs-spec issues] [JIRA] Created: (JAX_RS_SPEC-392) Client-side exception handling omitted by the specification

Marek Potociar (JIRA) 03/23/2013

[jax-rs-spec issues] [JIRA] Work started: (JAX_RS_SPEC-392) Client-side exception handling omitted by the specification

Santiago Pericas-Geertsen (JIRA) 03/26/2013

[jax-rs-spec issues] [JIRA] Resolved: (JAX_RS_SPEC-392) Client-side exception handling omitted by the specification

Santiago Pericas-Geertsen (JIRA) 03/26/2013
 
 
Close
loading
Please Confirm
Close