Use 3.X compatible exception handling syntax