Exception handling in WC Spaces
jurekaNov 15 2012 — edited Nov 16 2012Hi all,
I am developping custom taskflows that I'm deploying as WebCenter Spaces extensions in a 11.1.1.4 environment.
Now my problem is that exceptions which occur in the model layer are displayed to the users as "WCS#xxx: Unexpected error(s) occurred. You may want to contact Administrator with the error reference."
But I would like to display something more meaningful, for example the exception message (e.g. "Another user has changed the row with primary key {0}.")
How can I achieve this?
I tried to create a custom error handler class that I registered in the DataBindings.cpx file but that didn't do the job, Spaces seemed to ignore it completely.
Can anyone help me with this?