return rrfFactory;
}catch(JSONException e)
{
if(e instanceof RelevanceException)
{
RelevanceException re = (RelevanceException)e;
throw (RelevanceException)e;
}
else
throw new RelevanceException(ErrorType.JsonParsingError, "Json format is not correct.", e);
}
}