With task-level validation errors, AttributeValidationException is thrown as shown in the following table:
|
Rule Type |
How Thrown |
Error Message Source |
|---|---|---|
|
Regular expression |
By CA Identity Manager if the regular expression validation fails. |
CA Identity Manager uses a generalized exception message. |
|
JavaScript |
By CA Identity Manager if the validate() method returns False. |
The errorMessage parameter of the validate() method. |
|
Java |
By the custom validation rule or by CA Identity Manager. CA Identity Manager throws the exception when the custom rule does not and the custom rule’s validate() method returns False. |
One of the following sources:
|
If the validation rule implementation does not provide an error message, CA Identity Manager uses a generalized error message.
|
Copyright © 2014 CA.
All rights reserved.
|
|