Update c44.py

change exception type