loading table of contents...

5.2.2.6. Error Handling

Since all user data is stored in the IBM WebSphere Commerce server and the user authenticates against the server too the catalog API provides error handling so that errors thrown by the IBM WebSphere Commerce system can be handled by the CAE. IBM WebSphere Commerce provides several error messages with error codes that may occur during the registration, authentication or password reset/update of the user. The error codes are automatically extracted by the exception CommerceRemoteException. The Elastic Social web flow looks up commerce errors using the resource key format commerce.error.<ERROR_CODE>. The current error mapping can be configured in the sample content files in /test-data/content/Settings/Options/Bundles/Livecontext*.