users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: Exception unification proposal

From: Bill Burke <bburke_at_redhat.com>
Date: Fri, 11 Jan 2013 13:26:59 -0500

What is wrong with declaring runtime exceptions in throws clause? This
is a good thing, especially when doing "surround with" in your IDE.

On 1/11/2013 11:57 AM, Marek Potociar wrote:
> Hello experts,
>
> I've just committed my proposal resolving the issue
> http://java.net/jira/browse/JAX_RS_SPEC-257.
>
> Here's the change outline:
>
> - separate ClientException & MessageProcessingException removed & replaced with common ProcessingException
> - added client-side ResponseProcessingException (extends ProcessingException)
> - updated client-side javadoc
> - fixed API method signatures to not declare runtime exceptions in throws clause, only in javadoc (as perhttp://www.oracle.com/technetwork/java/javase/documentation/index-137868.html#throwstag )
>
> Please, let me know if you have any comments.
>
> Marek

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com