try:
#error code
except Exception as e:
print 'error',e
raise miexp("malicious error")
#userdefined exception, miexp
finally:
print 'finally'
Warum die Ausgabe in den folgenden Formaten ist?endlich und erneut von Ausnahme in Ausnahme, in Python erhöhen
Ausgang:
error
finally
malicious error
Eigentlich wie ich erwartet hatte:
error
malicious error
finally
Warum so?