[cdi-dev] org.jboss.cdi.tck.tests.context.conversation.ClientConversationContextTest#testNonexistentConversationExceptionThrown and exception handling

John D. Ament john.d.ament at gmail.com
Wed Dec 24 12:39:09 EST 2014


Why is the http client throwing an exception? AFAIK http client is just
making requests and generating the responding response as string or
otherwise.  html unit is trying to then convert it to a page to process the
content.

On Wed Dec 24 2014 at 12:14:15 PM Romain Manni-Bucau <rmannibucau at gmail.com>
wrote:

> Hi
>
> isnt "client.setThrowExceptionOnFailingStatusCode(false);" missing in
> org.jboss.cdi.tck.tests.context.conversation.
> ClientConversationContextTest#testNonexistentConversationExceptionThrown?
>
> Cause it expects an exception but by default httpclient will throw an
> exception before any validation is done
>
> what do I miss?
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
> _______________________________________________
> cdi-dev mailing list
> cdi-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/cdi-dev
>
> Note that for all code provided on this list, the provider licenses the
> code under the Apache License, Version 2 (http://www.apache.org/
> licenses/LICENSE-2.0.html). For all other ideas provided on this list,
> the provider waives all patent and other intellectual property rights
> inherent in such information.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20141224/faa37d97/attachment.html 


More information about the cdi-dev mailing list