removed deprecated BaseException
Merge pull request #255 from riyadparvez/deprecated-removal

removed deprecated BaseException