but commit is in finally block. so it runs on every condition even if you return any value before it.
Dave Newton-4 wrote: > > --- oguzhan tortop <[EMAIL PROTECTED]> wrote: >> At first catch i am expecting to handle exceptions >> that could be arise while >> creating the transaction and in the second try block >> i am commiting the >> transaction it gives error at the last final block >> side while commiting. > > ...but if the exception is happening on the commit > doesn't the code you have currently return the result > of the invocation rather than Action.ERROR? > > d. > > > > > > ____________________________________________________________________________________ > Need Mail bonding? > Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. > http://answers.yahoo.com/dir/?link=list&sid=396546091 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Struts-2-exception-problem-tf3525255.html#a9838090 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]