I have the following python code:
try:
pr.update()
except ConfigurationException as e:
returnString=e.line+' '+e.errormsg
This works under python 2.6, but the "as e" syntax fails under previous versions. How can I resolved this? Or in other words, how do I catch user-defined exceptions (and use their instance variables) under python 2.6. Thank you!