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