|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris WBEM Developer's Guide Oracle Solaris 11 Express 11/10|
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.
Note - For more information on the MOF compiler, see the mofcomp(1M) man page.
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.
Example 9-1 Parts of an Error 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.