Given an error has occurred
As a user I would like to see a helpful error message
and not a 500 error message currently displayed.
1) TAS test using the JDBC driver which throws the error message generated by the Solr /sql handler.
2) Display the error message in solr format when the format requested is solr.
3) When the format is not solr we wound to handle the exception using the current renderException.
4) When the error is not SQL related we want to handle it using the renderException.