Displaying 2 results from an estimated 2 matches for "calid".
Did you mean:
valid
2006 Jan 07
1
AWS, SOAP, and Exceptions
...? I''ve been digging through the source
code and see that in soap_protocol.rb there is a method called
encode_response() that seems to perform the translation of an Exception
to a SOAPFault. However, if I use the following code block within my Web
Service controller:
def get_calendar(calId)
begin
return Calendar.find(calId)
rescue Exception => e
return e
end
end
I see the following error, prior to the call to encode_reponse():
"Don''t know how to cast ActiveRecord::RecordNotFound to Calendar"
c:/ruby/lib/ruby/gems/1.8/gems/a...
2010 Mar 23
0
[LLVMdev] Cygwin llvm-gcc-4.2 regression
...47: error: expected ')' before 'va_list'
In file included from /usr/lib/../include/w32api/windows.h:58,
from /home/ang/src/llvm-gcc4.2-2.7.source/gcc/config/i386/cygmi
ng-crtbegin.c:43:
/usr/lib/../include/w32api/winnls.h:467: error: expected ')' before 'CALID'
/usr/lib/../include/w32api/winnls.h:469: error: expected declaration specifiers
or '...' before 'LPWSTR'
/usr/lib/../include/w32api/winnls.h:469: error: expected declaration specifiers
or '...' before 'LPWSTR'
/usr/lib/../include/w32api/winnls.h:471: error: expe...