AnsweredAssumed Answered

Transaction rollback in java backed webscript

Question asked by bazza on Jul 4, 2008

I'm currently having a problem capturing a transaction related errors when executing a Java backed webscript.  The execution of the code in my ws (extends DeclarativeWebScript) does not throw any exceptions, however when an attempt is made to commit the transaction (further up the call stack) an error occurs relating to versions.  The nature of the error is not the problem, the problem is that although the response body returns with some html outlining what has happened, the response code is 200, so going by this everything appears fine.  What I want to know is how I can trap these errors and deal with them.  I can't catch them in my ws as my executeImpl method has already completed when the error occurs.  Any help would be appreciated.