VMware {code} Community
AJ_VMW
Contributor
Contributor

Sample code for using ExtendedFault

I couldn't find any example that demonstrates how to use ExtendedFault with setTaskState (TaskInfostate.ERROR). Appreciate any help.

I tried following:

1) when I call setTaskState with ExtendedFault, VI Client shows Task Status is set to "fault.com.company.component.faultname.summary". Any idea why?


Note that I've registered custom faultId ("com.company.component.faultname") using ExtensionFaultTypeInfo (Verified through MOB's ExtensionManager that faultId appears under faultList for my extension)

0 Kudos
0 Replies