added try-catch statement in SQLProcessor::select().