{
return new ResteasyRedirectException(e);
}
if (TunnelRefusedException.class.equals(e.getClass()))
{
return new ResteasyTunnelRefusedException(e);
}
if (UnsupportedHttpVersionException.class.equals(e.getClass()))
{
return new ResteasyUnsupportedHttpVersionException(e);
}