public Condition(String property, String operator, String value) throws InvalidOperatorException, QueryParseException { m_property = property; m_operator = Operator.fromAbbreviation(operator); if (value.indexOf("'") != -1) { throw new QueryParseException("Query cannot contain the ' character."); } m_value = value; }
public Condition(String property, String operator, String value) throws InvalidOperatorException, QueryParseException { m_property = property; m_operator = Operator.fromAbbreviation(operator); if (value.indexOf("'") != -1) { throw new QueryParseException("Query cannot contain the ' character."); } m_value = value; }