replaced code returning false and throwing logic_error into code to throw SQLProcessorException and AsuraException.