Customizing default business component error messages
ADF business components allow you to customize default business component error messages, such as unique constraint violation or foreign key constraint violation, by providing an alternative message string for the error code in a custom message bundle.
The following example will help you to understand the steps for customizing the message bundle used by business components. In this example, we will override the default error message displayed for the violation of the unique constraint '
EMP_EMAIL_UK' defined on the
Employee table. By default, when you commit a transaction with a duplicate
"ORA-00001: unique ...