Author: jsdelfino
Date: Sat Dec  2 01:07:00 2006
New Revision: 481523

URL: http://svn.apache.org/viewvc?view=rev&rev=481523
Log:
Fixed a bug throwing a 'Type not supported' exception on methods with no return 
value

Modified:
    
incubator/tuscany/cpp/sca/runtime/extensions/ruby/src/tuscany/sca/ruby/RubyServiceProxy.cpp

Modified: 
incubator/tuscany/cpp/sca/runtime/extensions/ruby/src/tuscany/sca/ruby/RubyServiceProxy.cpp
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/extensions/ruby/src/tuscany/sca/ruby/RubyServiceProxy.cpp?view=diff&rev=481523&r1=481522&r2=481523
==============================================================================
--- 
incubator/tuscany/cpp/sca/runtime/extensions/ruby/src/tuscany/sca/ruby/RubyServiceProxy.cpp
 (original)
+++ 
incubator/tuscany/cpp/sca/runtime/extensions/ruby/src/tuscany/sca/ruby/RubyServiceProxy.cpp
 Sat Dec  2 01:07:00 2006
@@ -349,10 +349,8 @@
                         }
                         default:
                         {
-                            ostringstream msg;
-                            msg << "Operation parameter type not supported: " 
<< resultType;
-                            rb_raise(rb_eRuntimeError, msg.str().c_str());
-                            return Qnil;
+                            value = Qnil;
+                            break;
                         }
                     }
             



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to