This week's book giveaway is in the Python forum.
We're giving away four copies of Python Continuous Integration and Delivery and have Moritz Lenz on-line!
See this thread for details.
Win a copy of Python Continuous Integration and Delivery this week in the Python forum!

Andrew Dondero

Greenhorn
+ Follow
since Nov 17, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Andrew Dondero

sure, but that shouldn't preclude fixing the mistake. This thread was a number 1 hit on google on this topic, so other people searching for this same thing would no doubt copy the code and find the compile error. i was looking to see if there was a more elegant solution, but ended up doing the simple try/catch. to save time I just copied the code rather than retype, and this small error caused a bit of frustration, because the tool we are using does not have an IDE like eclipse that will tell you in real time where and what the compile error is.
9 years ago
just fyi, the above method is missing an 'e' after catch(Exception e):


9 years ago
[not relevant to this forum]
9 years ago