WBEMfor Solaris on Sun Developer's Guide

For Developers: Error Message Templates

WBEM provides exception templates for all possible error messages in the ErrorMessages_en.properties file of the APIs. In an exception template that requires parameters, the first parameter is represented as {0} and the second parameter is represented as {1}.

The following exception template is used in the previous example:

REF_REQUIRED = Association class {0} needs at least two refs.