public SearchFilter(final SearchFilterOperation operation) throws IncorrectParameterException { this.operation = operation; if (!isUndefinedFieldNameAuthorized()) { throw new IncorrectParameterException( "search operator can only be AND, OR, L_PARENTHESIS, R_PARENTHESIS on the one-parameter SearchFilter constructor"); } }
public SearchFilter(final SearchFilterOperation operation) throws IncorrectParameterException { this.operation = operation; if (!isUndefinedFieldNameAuthorized()) { throw new IncorrectParameterException( "search operator can only be AND, OR, L_PARENTHESIS, R_PARENTHESIS on the one-parameter SearchFilter constructor"); } }