Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Allow Java devices to customize action errors
11-08-2012, 12:26 PM
Post: #10
RE: Allow Java devices to customize action errors
I'm attaching a zip file containing diffs for the following:

OpenHome/Net/Bindings/Java/Invocation.c
OpenHome/Net/Bindings/Java/Invocation.h
OpenHome/Net/Bindings/Java/org/openhome/net/controlpoint/Invocation.java
OpenHome/Net/Bindings/Java/org/openhome/net/controlpoint/SyncProxyAction.java
OpenHome/Net/Bindings/Java/org/openhome/net/controlpoint/ProxyError.java (complete replacement)
OpenHome/Net/T4/Templates/CpJavaUpnp.tt

I'm doing this instead of putting code inline here because of double-spacing problems that might have been caused when inline code was copied and pasted. I've noticed this problem in ActionError.java, ProxyError.java, and lines 380 to 415 of DvInvocation.java.

While testing these changes, I found some problems with error handling in SyncProxyAction.java and Invocation.java. These diffs include fixes for these problems.


Attached File(s)
.zip  diff1.zip (Size: 2.5 KB / Downloads: 3)
Find all posts by this user


Messages In This Thread
RE: Allow Java devices to customize action errors - simoncn - 11-08-2012 12:26 PM

Forum Jump: