[Pki-devel] [PATCH] 28 Added CMSException.

Endi Sukma Dewata edewata at redhat.com
Fri Mar 30 21:58:26 UTC 2012


On 3/28/2012 10:36 AM, Endi Sukma Dewata wrote:
> On 3/28/2012 8:39 AM, Endi Sukma Dewata wrote:
>> On 3/27/2012 8:57 PM, Endi Sukma Dewata wrote:
>>> On 3/2/2012 2:51 PM, Endi Sukma Dewata wrote:
>>>> The CMSException was added to simplify error handling in REST services.
>>>> The exception may include an error message and some other attributes.
>>>> When the server throws a CMSException (or its subclass), the exception
>>>> will be marshalled into XML and unmarshalled by the client, then thrown
>>>> again as a new exception which can be caught by the application.
>>>>
>>>> Ticket #100
>>>>
>>>> Note: This patch depends on patch #25-1. This patch also requires
>>>> RESTEasy 2.3.2 jar files to be installed under
>>>> /usr/share/java/resteasy.
>>>> Might need to wait for ticket #29.
>>>
>>> Rebased on top of patch #37-1.
>>
>> Rebased on top of patch #37-2.
>
> Revised the patch to use jar files from standard packages:
> httpcomponents-client
> httpcomponents-core
> jakarta-commons-httpclient

ACKed by Ade. Pushed to master. Additional work may be needed to convert 
other WebApplicationExceptions to CMSExceptions.

-- 
Endi S. Dewata




More information about the Pki-devel mailing list