Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Allow Java devices to customize action errors
08-08-2012, 01:07 PM
Post: #6
RE: Allow Java devices to customize action errors
Thanks for applying these changes.

Unforunately they haven't quite been applied correctly. The change to DvUpnpJava.tt has ben applied as
Code:
invocation.reportActionError(ae, "Invalid XML");
instead of
Code:
invocation.reportActionError(ae, "<#=a.name#>");

The second argument to reportActionError() should be the name of the action. It's used by reportActionError() to produce a default message "Action xxxx failed".

If you look at the equivalent code in the C# bindings, you'll see that it does the same thing.
Find all posts by this user


Messages In This Thread
RE: Allow Java devices to customize action errors - simoncn - 08-08-2012 01:07 PM

Forum Jump: