what do you mean when you said use Exception? It's nightmare to use exception in every query command.