lecosson / assql

Automatically exported from code.google.com/p/assql
0 stars 0 forks source link

Catching Errors #112

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run the application on localhost, connect to DB, start running queries.
2. Go to Services and STOP mysql service (assuming you have it installed)
3. Connection.as throws new error.

What is the expected output? What do you see instead?
Be able to catch that error through an event handler or try catch block

What version of the product are you using? On what operating system?
Latest on Windows 7, with Flex and Adobe Air.

Please provide any additional information below.
Please give a solid example on how to handle errors.

Connection.as (442):
undefined Error: SQL Error #9477: 70100Query execution was interrupted
[Fault] exception, information=Error: Server terminated connection!

Original issue reported on code.google.com by kmikhay...@cirrusled.com on 7 Feb 2014 at 7:57