more appropriate error from invoke method, minor codegen enhancement. 
more appropriate error from invoke method, minor codegen enhancement. 

williamdean/pywbem,zenoss/pywbem,zenoss/pywbem,williamdean/pywbem