We are still calling the SearchException constructor directly in some places. Either we should use AssertionFailure, or we should define the error message in a JBoss Logger.