{
return new ResteasyNonRepeatableRequestException(e);
}
if (NTLMEngineException.class.equals(e.getClass()))
{
return new ResteasyNTLMEngineException(e);
}
if (ProtocolException.class.equals(e.getClass()))
{
return new ResteasyProtocolException(e);
}