Creating An Exception Class In Python