{
return new ResteasyAuthenticationException(e);
}
if (CircularRedirectException.class.equals(e.getClass()))
{
return new ResteasyCircularRedirectException(e);
}
if (CookieRestrictionViolationException.class.equals(e.getClass()))
{
return new ResteasyCookieRestrictionViolationException(e);
}