Hi footh,
You need to use JavaScript style of exception handling in the flow,
unless you are using Java interpreter
Try this:
if (conn != null)
try { conn.close(); } catch (e) { print(e) }
footh wrote:
In a javaflow, I open a db connection. Then in a
finally clause, I have this code:
if (conn != null)
try { conn.close(); } catch (Exception e) { }
This causes this error when I try to access any page:
Instruction ' 223: ret[169](2) 8' is part of more than
one subroutine (or of the top level and a subroutine).
I tested to see if it was only a problem with the conn
object by putting this line in the clause:
try { System.out.println("Hi!"); } catch (Exception
e) { }
Sure enough, I get the same error. The function in
question is never called either, so I assume it has to
do with the javaflow interpreter. I guess there is no
way to put a try-catch within a finally clause?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]