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"); 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. |
|||
« Next Oldest | Next Newest »
|