UMSObject is a child of SOMObject and ancestor of all Ultimedia Services classes. It overrides the somInit method of SOMObject. UMSObject or another Ultimedia Services class can be specified as the parent class in idl files of any new object to be created for use with Ultimedia Services. The class provides the attribute:
attribute long UMSError
This attribute is set to 0 by default, but can be set to 1 in the somInit method of any child object to indicate that some failure occurred during initialization of the object.
UMSClass is a child of SOMClass and ancestor of all Ultimedia Services metaclasses. On object creation, it checks the status of the UMSObject _UMSError attribute. If an error is indicated, it frees the object and returns a null to indicate the object construction failed.
For introductory information, see Programming with MetaClass Objects.