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