159160161162163164165166167
{ return new ResteasyTunnelRefusedException(e); } if (UnsupportedHttpVersionException.class.equals(e.getClass())) { return new ResteasyUnsupportedHttpVersionException(e); } return new ResteasyHttpException("HttpException", e); }
411412413414415416417
} @Test public void testUnsupportedHttpVersionException() throws Exception { doTest(new ResteasyUnsupportedHttpVersionException(), new UnsupportedHttpVersionException()); }