{
return new ResteasyConnectTimeoutException(e);
}
if (HttpHostConnectException.class.equals(e.getClass()))
{
return new ResteasyHttpHostConnectException(e);
}
if (MalformedChunkCodingException.class.equals(e.getClass()))
{
return new ResteasyMalformedChunkCodingException(e);
}