Constructor for the AttributeValidationException
When you create an AttributeValidationException object for a Java validate() method, use the following constructor:
cim1265
When you create an AttributeValidationException object for a Java validate() method, use the following constructor:
- Syntaxpublic AttributeValidationException(String attrName, String attrValue, String messageid, String message);
- Parameters
- attrNameSpecifies the name of the managed object attribute being validated.
- attrValueSpecifies the value to validate.
- messageidIf the value cannot be validated, it provides the ID associated with the message to display. The ID corresponds to a message in the resource bundle IMSExceptions.properties.
- messageProvides an additional message that can be displayed to the user. This parameter gives you an opportunity to display a more specific message than the one in the resource bundle, or a message from a custom resource bundle.
For more information about AttributeValidationException, see the Javadoc.