151152153154155156157158159160161
{ return new ResteasyProtocolException(e); } if (RedirectException.class.equals(e.getClass())) { return new ResteasyRedirectException(e); } if (TunnelRefusedException.class.equals(e.getClass())) { return new ResteasyTunnelRefusedException(e); }
399400401402403404405
} @Test public void testRedirectException() throws Exception { doTest(new ResteasyRedirectException(), new RedirectException()); }