{
return new ResteasyMalformedChunkCodingException(e);
}
if (NoHttpResponseException.class.equals(e.getClass()))
{
return new ResteasyNoHttpResponseException(e);
}
if (NoHttpResponseException.class.equals(e.getClass()))
{
return new ResteasyNoHttpResponseException(e);
}
return new ResteasyIOException("IOException", e);
}