When you create an AttributeValidationException object for a Java validate() method, use the following constructor:
public AttributeValidationException(String attrName,
String attrValue, String messageid, String message);
Specifies the name of the managed object attribute being validated.
Specifies the value to validate.
If 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.
Provides 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.
Note: For more information about AttributeValidationException, see the CA IdentityMinder Javadoc.
Copyright © 2013 CA.
All rights reserved.
|
|