Resource bundles are text files. The items in the resource bundles have the format messageID=message, for example:
5004=The SSN is a required field.
You can store custom exception messages in a custom resource bundle or in IMSExceptions.properties. If you store custom messages in the IMSExceptions.properties file, do so at the end of the file, and in the format indicated in the file. For example, you can prefix the message ID with custom-, as shown in the following line:
custom-5004=The SSN is a required field.
Using this format in the predefined IMSExceptions.properties file helps to avoid migration problems when you update CA IdentityMinder.
IMSException messages support variables. You can insert specific values into the variables when you add the message to the IMSException object.
Copyright © 2013 CA.
All rights reserved.
|
|