assertQEx(String message, SolrQueryRequest req,
SolrException.ErrorCode ) {
I think because that assert code predates the ErrorCode class (once upon a
time Solr was also using numeric codes like "0", "-1" for some internal
errors) and when the ErrorCode class got added, no one upd
Any reason why ErrorCode.code isn't public final? It seems weird that we have
public void assertQEx(String message, SolrQueryRequest req, int code ) {
instead of
public void assertQEx(String message, SolrQueryRequest req,
SolrException.ErrorCode ) {
So much easier to write:
assertQEx(&