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