BaseException.message has been deprecated as of Python 2.6