Creating and modifying custom error codes

In the Applications Manager, you can create error codes to be thrown for any exception specified in your custom code. The associated cause, action and description defined while creating the error code should be available in your user interface. Custom error code values should not contain any keywords reserved by the application.

Custom error codes are also used for failure reasons thrown by the password validation user exits. These user exit exceptions are thrown when a user attempts to save the password changes in the console. A sample implementation of these user exits using Java™'s built-in MD5 routines are provided in install_dir/xapidocs/code_examples/pwcrypt directory. For more information on these user exits, refer to the Javadocs.