Fixed query tool returned error handling (was not properly handled as a String)  

git-svn-id: http://tungsten-replicator.googlecode.com/svn/trunk@2656 9f5e3340-5c9a-25cb-7c1c-c133a2e9e928