Update djvm.py

change exception types