The CIM Object Manager (CIMOM) generates error messages that are used by both the Managed Object Format (MOF) compiler and CIM Workshop. The MOF compiler appends a line to the error message that indicates the line number in which the error occurs in the .mof file.
For more information on the MOF compiler, see the mofcomp(1M) man page.
An error message consists of the following parts:
Unique identifier – A character string that identifies the error message. You can search for the unique identifier in the Javadoc reference pages to see an explanation of the content of the error message.
Parameters – Placeholders for the specific classes, methods, and qualifiers that are cited in the exception message.
The MOF compiler returns the following error:
REF_REQUIRED = Association class CIM_Docked needs at least two refs. Error in line 12.
REF_REQUIRED is the unique identifier.
CIM_Docked is a parameter.
line 12 indicates the line number in the .mof file in which the error occurred.