use custom exception in xscreesaver.py