{
return new ResteasyInvalidCredentialsException(e);
}
if (MalformedChallengeException.class.equals(e.getClass()))
{
return new ResteasyMalformedChallengeException(e);
}
if (MalformedCookieException.class.equals(e.getClass()))
{
return new ResteasyMalformedCookieException(e);
}